[Libreoffice-commits] core.git: svx/source
Miklos Vajna
vmiklos at collabora.co.uk
Tue Mar 11 01:10:03 PDT 2014
svx/source/gallery2/galtheme.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 375ee984859a3c7b03faae6ec92c50be43a39988
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Mar 11 09:08:11 2014 +0100
-Werror=parentheses
Change-Id: Icceeae0581e3f639c3a9820eda4c1df291e78f2b
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 900f935..1275a70 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -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 ) );
}
More information about the Libreoffice-commits
mailing list