-Werror=parentheses

Change-Id: Icceeae0581e3f639c3a9820eda4c1df291e78f2b
This commit is contained in:
Miklos Vajna
2014-03-11 09:08:11 +01:00
parent e8f00662a8
commit 375ee98485

View File

@@ -398,7 +398,7 @@ bool GalleryTheme::InsertObject( const SgaObject& rObj, sal_uIntPtr nInsertPos )
else
ImplWriteSgaObject( rObj, nInsertPos, NULL );
ImplSetModified( bRet = sal_True );
ImplSetModified( (bRet = sal_True) );
ImplBroadcast( pFoundEntry ? iFoundPos : nInsertPos );
}
@@ -499,7 +499,7 @@ bool GalleryTheme::ChangeObjectPos( size_t nOldPos, size_t nNewPos )
::std::advance( it, nOldPos );
aObjectList.erase( it );
ImplSetModified( bRet = sal_True );
ImplSetModified( (bRet = sal_True) );
ImplBroadcast( ( nNewPos < nOldPos ) ? nNewPos : ( nNewPos - 1 ) );
}