Kaydet (Commit) ed3c716c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bOleServer/bMac vars want to be of type bool

Change-Id: Ie86c43f594486b38b779df2fbc8bd8f15682fa7b
üst b3c27fe8
......@@ -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 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment