diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 20:37:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 21:28:05 +0100 |
commit | 7700d10eee335256815763d4f8d4fb91ddab9cd2 (patch) | |
tree | 52ec388dafd13eb214e3a23bd91fae0a834db021 /cui/source/tabpages/backgrnd.cxx | |
parent | d8bbe0ede2d5f07a92772dfa04ace97751128005 (diff) |
bool improvements
Change-Id: Idc397c918980ba4bb47fb73fbd0e6dd11fb6d0b7
Diffstat (limited to 'cui/source/tabpages/backgrnd.cxx')
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index e1e598ddb6a6..526d1e5b89f5 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -1034,9 +1034,9 @@ sal_Bool SvxBackgroundTabPage::FillItemSetWithWallpaperItem( SfxItemSet& rCoreSe // Bitmap-treatment: SvxGraphicPosition eNewPos = GetGraphicPosition_Impl(); - int bBitmapChanged = ( ( eNewPos != eOldPos ) || + bool bBitmapChanged = ( ( eNewPos != eOldPos ) || ( rOldItem.GetGraphicLink() != aBgdGraphicPath ) ); - int bBrushChanged = ( rOldItem.GetColor() != aBgdColor ); + bool bBrushChanged = ( rOldItem.GetColor() != aBgdColor ); if( bBitmapChanged || bBrushChanged ) { bModified = sal_True; |