summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ) );
}