summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/menu/virtmenu.cxx6
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 ) );