diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-05 15:13:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:19 +0200 |
commit | eeae5cf0432adb83e5e948a217020b776144d783 (patch) | |
tree | 4fae56ac560cac89d2ad62308fa0cabe3313b8ee /sw | |
parent | 729c93c12f3a05bc3afe9a94bbd0a5113a9ff758 (diff) |
svx: sal_Bool->bool
Change-Id: I799d547cb3f81aeae19d0c8b6a2161b3064539f0
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/uibase/app/appopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/app/appopt.cxx b/sw/source/core/uibase/app/appopt.cxx index 3658dfa6c0d1..6eba18e024e0 100644 --- a/sw/source/core/uibase/app/appopt.cxx +++ b/sw/source/core/uibase/app/appopt.cxx @@ -350,7 +350,7 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) aViewOpt.SetSnap( pGridItem->GetUseGridSnap() ); aViewOpt.SetSynchronize(pGridItem->GetSynchronize()); - if( aViewOpt.IsGridVisible() != pGridItem->GetGridVisible() ) + if( aViewOpt.IsGridVisible() != (pGridItem->GetGridVisible() ? 1 : 0) ) aViewOpt.SetGridVisible( pGridItem->GetGridVisible()); Size aSize = Size( pGridItem->GetFldDrawX() , pGridItem->GetFldDrawY() ); |