diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-01 16:23:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-02 09:38:29 +0200 |
commit | e9cb5577f4c1be0f59863ec5ccb68e8794a2f117 (patch) | |
tree | 9a84237851499e829442ed322ba050189943ce21 /vcl/osx/salnativewidgets.cxx | |
parent | 1a18cafecb06a76e872f5f1a9434160ea8ffd881 (diff) |
loplugin:staticmethods
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
Diffstat (limited to 'vcl/osx/salnativewidgets.cxx')
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index cd2b8c5b892e..559b41897f1c 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -746,7 +746,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, { ButtonValue aButtonValue = aValue.getTristateVal(); - if( Application::GetSettings().GetLayoutRTL() && aButtonValue == BUTTONVALUE_OFF ) + if( AllSettings::GetLayoutRTL() && aButtonValue == BUTTONVALUE_OFF ) { // FIXME: a value of kThemeDisclosureLeft // should draw a theme compliant left disclosure triangle @@ -784,7 +784,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, case BUTTONVALUE_OFF: // FIXME: this should have drawn a theme compliant disclosure triangle // (see above) - if( Application::GetSettings().GetLayoutRTL() ) + if( AllSettings::GetLayoutRTL() ) { aInfo.value = kThemeDisclosureLeft;//collapsed, RTL } @@ -815,7 +815,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, aTrackInfo.bounds.origin.y -= 2; // FIXME: magic for shadow aTrackInfo.bounds.size.width -= 2; // FIXME: magic for shadow aTrackInfo.attributes = kThemeTrackHorizontal; - if( Application::GetSettings().GetLayoutRTL() ) + if( AllSettings::GetLayoutRTL() ) aTrackInfo.attributes |= kThemeTrackRightToLeft; aTrackInfo.enableState = getTrackState( nState ); // the intro bitmap never gets key anyway; we want to draw that enabled @@ -972,7 +972,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, //support for RTL //see issue 79748 - if( Application::GetSettings().GetLayoutRTL() ) { + if( AllSettings::GetLayoutRTL() ) { if( aTabItemDrawInfo.position == kHIThemeTabPositionFirst ) aTabItemDrawInfo.position = kHIThemeTabPositionLast; else if( aTabItemDrawInfo.position == kHIThemeTabPositionLast ) @@ -1105,7 +1105,7 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, HIRect buttonRc = ImplGetHIRectFromRectangle(aSpinRect); // FIXME: without this fuzz factor there is some unwanted clipping - if( Application::GetSettings().GetLayoutRTL() ) + if( AllSettings::GetLayoutRTL() ) buttonRc.origin.x -= FOCUS_RING_WIDTH - CLIP_FUZZ; else buttonRc.origin.x += FOCUS_RING_WIDTH + CLIP_FUZZ; |