summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-03-11 09:08:11 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-11 09:09:37 +0100
commit375ee984859a3c7b03faae6ec92c50be43a39988 (patch)
treee1fa60906134042a45205c05d03fd95c92d3438e /svx
parente8f00662a8dbeec61bed08aa6706af54b6d55f14 (diff)
-Werror=parentheses
Change-Id: Icceeae0581e3f639c3a9820eda4c1df291e78f2b
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galtheme.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 900f935daeae..1275a70ad367 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 ) );
}