diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-20 16:41:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-24 08:12:10 +0200 |
commit | b41badb803b4d4597901fdc6c899305f3e914aaa (patch) | |
tree | fef608dcd073cd07fdd9c3c5ba28841d305bf593 /sfx2 | |
parent | f7074d8de59f58367b31d7266037880403ac27ef (diff) |
svtools: sal_Bool->bool
Change-Id: I37352e90a5304e75ce0c8ae922a167b1e70625e8
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 569c2d7ac185..216d53a5acf8 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2466,7 +2466,7 @@ bool SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt ) aMenu.InsertItem( TBI_SOURCEVIEW, SfxResId(STR_HELP_BUTTON_SOURCEVIEW).toString() ); } - if( SvtMenuOptions().IsEntryHidingEnabled() == sal_False ) + if( ! SvtMenuOptions().IsEntryHidingEnabled() ) aMenu.SetMenuFlags( aMenu.GetMenuFlags() | MENU_FLAG_HIDEDISABLEDENTRIES ); sal_uInt16 nId = aMenu.Execute( this, aPos ); diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index 500af4453999..f4ef62a0e606 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -72,7 +72,7 @@ using namespace com::sun::star; void TryToHideDisabledEntries_Impl( Menu* pMenu ) { DBG_ASSERT( pMenu, "invalid menu" ); - if( SvtMenuOptions().IsEntryHidingEnabled() == sal_False ) + if( ! SvtMenuOptions().IsEntryHidingEnabled() ) { pMenu->SetMenuFlags( pMenu->GetMenuFlags() | MENU_FLAG_HIDEDISABLEDENTRIES ); } |