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 /svtools | |
parent | 1a18cafecb06a76e872f5f1a9434160ea8ffd881 (diff) |
loplugin:staticmethods
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 4 | ||||
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 8 | ||||
-rw-r--r-- | svtools/source/graphic/transformer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/hatchwindow/ipwin.cxx | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index ad9345f3dd70..45807d372c26 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -2287,12 +2287,12 @@ void TabBar::SetMirrored(bool bMirrored) void TabBar::SetEffectiveRTL( bool bRTL ) { - SetMirrored( bRTL != Application::GetSettings().GetLayoutRTL() ); + SetMirrored( bRTL != AllSettings::GetLayoutRTL() ); } bool TabBar::IsEffectiveRTL() const { - return IsMirrored() != Application::GetSettings().GetLayoutRTL(); + return IsMirrored() != AllSettings::GetLayoutRTL(); } void TabBar::SetMaxPageWidth( long nMaxWidth ) diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx index 55b09cc170f8..a8daae01f1b0 100644 --- a/svtools/source/graphic/grfmgr2.cxx +++ b/svtools/source/graphic/grfmgr2.cxx @@ -613,11 +613,11 @@ bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAttrib } } - aOutBmp.ReleaseAccess( pWriteAccess ); + Bitmap::ReleaseAccess( pWriteAccess ); bRet = true; } - aBmp.ReleaseAccess( pReadAccess ); + Bitmap::ReleaseAccess( pReadAccess ); } // mask processing @@ -846,12 +846,12 @@ bool ImplCreateRotatedScaled( const BitmapEx& rBmpEx, const GraphicAttr& rAttrib pMapLY.reset(); if( pMAcc ) - aMsk.ReleaseAccess( pMAcc ); + Bitmap::ReleaseAccess( pMAcc ); bRet = true; } - aOutMsk.ReleaseAccess( pWriteAccess ); + Bitmap::ReleaseAccess( pWriteAccess ); } if( bRet ) diff --git a/svtools/source/graphic/transformer.cxx b/svtools/source/graphic/transformer.cxx index 06c259558d65..9be39c0beba8 100644 --- a/svtools/source/graphic/transformer.cxx +++ b/svtools/source/graphic/transformer.cxx @@ -70,7 +70,7 @@ void setAlpha( Bitmap& rBitmap, AlphaMask& rAlpha, sal_uInt8 cIndexFrom, sal_Int } } } - rBitmap.ReleaseAccess( pReadAccess ); + Bitmap::ReleaseAccess( pReadAccess ); rAlpha.ReleaseAccess( pWriteAccess ); } diff --git a/svtools/source/hatchwindow/ipwin.cxx b/svtools/source/hatchwindow/ipwin.cxx index d347ad41e645..0d55780c2a6e 100644 --- a/svtools/source/hatchwindow/ipwin.cxx +++ b/svtools/source/hatchwindow/ipwin.cxx @@ -211,7 +211,7 @@ Point SvResizeHelper::GetTrackPosPixel( const Rectangle & rRect ) const Point aBR = aOuter.BottomRight(); Point aTR = aOuter.TopRight(); Point aBL = aOuter.BottomLeft(); - bool bRTL = Application::GetSettings().GetLayoutRTL(); + bool bRTL = AllSettings::GetLayoutRTL(); switch( nGrab ) { case 0: @@ -276,7 +276,7 @@ Rectangle SvResizeHelper::GetTrackRectPixel( const Point & rTrackPos ) const Point aDiff = rTrackPos - aSelPos; aTrackRect = aOuter; Point aBR = aOuter.BottomRight(); - bool bRTL = Application::GetSettings().GetLayoutRTL(); + bool bRTL = AllSettings::GetLayoutRTL(); switch( nGrab ) { case 0: |