Kaydet (Commit) 375ee984 authored tarafından Miklos Vajna's avatar Miklos Vajna

-Werror=parentheses

Change-Id: Icceeae0581e3f639c3a9820eda4c1df291e78f2b
üst e8f00662
...@@ -398,7 +398,7 @@ bool GalleryTheme::InsertObject( const SgaObject& rObj, sal_uIntPtr nInsertPos ) ...@@ -398,7 +398,7 @@ bool GalleryTheme::InsertObject( const SgaObject& rObj, sal_uIntPtr nInsertPos )
else else
ImplWriteSgaObject( rObj, nInsertPos, NULL ); ImplWriteSgaObject( rObj, nInsertPos, NULL );
ImplSetModified( bRet = sal_True ); ImplSetModified( (bRet = sal_True) );
ImplBroadcast( pFoundEntry ? iFoundPos : nInsertPos ); ImplBroadcast( pFoundEntry ? iFoundPos : nInsertPos );
} }
...@@ -499,7 +499,7 @@ bool GalleryTheme::ChangeObjectPos( size_t nOldPos, size_t nNewPos ) ...@@ -499,7 +499,7 @@ bool GalleryTheme::ChangeObjectPos( size_t nOldPos, size_t nNewPos )
::std::advance( it, nOldPos ); ::std::advance( it, nOldPos );
aObjectList.erase( it ); aObjectList.erase( it );
ImplSetModified( bRet = sal_True ); ImplSetModified( (bRet = sal_True) );
ImplBroadcast( ( nNewPos < nOldPos ) ? nNewPos : ( nNewPos - 1 ) ); ImplBroadcast( ( nNewPos < nOldPos ) ? nNewPos : ( nNewPos - 1 ) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment