diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 11:00:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 13:44:13 +0200 |
commit | ed3c716c311cadd9f3f4f9fee1975ce8c7c19dee (patch) | |
tree | 37e769ee97e9678a2957d8f08de5bdd224f9d82f | |
parent | b3c27fe8673519a7932c647f2d727125419e52b1 (diff) |
bOleServer/bMac vars want to be of type bool
Change-Id: Ie86c43f594486b38b779df2fbc8bd8f15682fa7b
-rw-r--r-- | sfx2/source/menu/virtmenu.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index 6f217bcb7c09..c085e84295a0 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -138,7 +138,7 @@ static Image RetrieveAddOnImage( Reference< com::sun::star::frame::XFrame >& rFr if the OLE server application exist or not. */ -bool IsItemHidden_Impl( sal_uInt16 nItemId, int bOleServer, int bMac ) +bool IsItemHidden_Impl( sal_uInt16 nItemId, bool bOleServer, bool bMac ) { return ( bMac && ( nItemId == SID_MINIMIZED ) ) || @@ -327,8 +327,8 @@ void SfxVirtualMenu::CreateFromSVMenu() // remember some values SfxGetpApp(); - const int bOleServer = sal_False; - const int bMac = sal_False; + const bool bOleServer = false; + const bool bMac = false; SvtMenuOptions aOptions; aOptions.AddListenerLink( LINK( this, SfxVirtualMenu, SettingsChanged ) ); |