diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:46:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:47:23 +0100 |
commit | fe7a4bccfdc6ff7e10789e5512ac469a4dc44f55 (patch) | |
tree | 2da6d63a8ff02d78999427a700fe823f07db2f70 /vcl/osx/salframe.cxx | |
parent | 216bcceee1ba908f617deb3f2404aff8085d5358 (diff) |
Adapt vcl to various loplugin warnings on Mac OS X
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r-- | vcl/osx/salframe.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 6231886dc145..3ce28c9a2588 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -722,7 +722,7 @@ void AquaSalFrame::SetApplicationID( const OUString &/*rApplicationID*/ ) // ----------------------------------------------------------------------- -void AquaSalFrame::ShowFullScreen( sal_Bool bFullScreen, sal_Int32 nDisplay ) +void AquaSalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay ) { if ( !mpNSWindow ) return; @@ -730,7 +730,7 @@ void AquaSalFrame::ShowFullScreen( sal_Bool bFullScreen, sal_Int32 nDisplay ) // #i113170# may not be the main thread if called from UNO API SalData::ensureThreadAutoreleasePool(); - SAL_INFO("vcl.macosx", OSL_THIS_FUNC << ": mbFullScreen=" << mbFullScreen << ", bFullScreen=" << bFullScreen); + SAL_INFO("vcl.osx", OSL_THIS_FUNC << ": mbFullScreen=" << mbFullScreen << ", bFullScreen=" << bFullScreen); if( mbFullScreen == bFullScreen ) return; @@ -1297,8 +1297,8 @@ void AquaSalFrame::UpdateSettings( AllSettings& rSettings ) // images in menus false for MacOSX aStyleSettings.SetPreferredUseImagesInMenus( false ); - aStyleSettings.SetHideDisabledMenuItems( sal_True ); - aStyleSettings.SetAcceleratorsInContextMenus( sal_False ); + aStyleSettings.SetHideDisabledMenuItems( true ); + aStyleSettings.SetAcceleratorsInContextMenus( false ); rSettings.SetStyleSettings( aStyleSettings ); @@ -1535,7 +1535,7 @@ bool AquaSalFrame::SetPluginParent( SystemParentData* ) // plugging process; //TODO: implement - return sal_False; + return false; } bool AquaSalFrame::MapUnicodeToKeyCode( sal_Unicode , LanguageType , KeyCode& ) |