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 /cui | |
parent | 1a18cafecb06a76e872f5f1a9434160ea8ffd881 (diff) |
loplugin:staticmethods
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/colorpicker.cxx | 6 | ||||
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index 798597ba6bdc..d1015e844e97 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -518,7 +518,7 @@ void ColorFieldControl::UpdateBitmap() break; } - mpBitmap->ReleaseAccess( pWriteAccess ); + Bitmap::ReleaseAccess( pWriteAccess ); } } @@ -563,7 +563,7 @@ void ColorFieldControl::ShowPosition( const Point& rPos, bool bUpdate ) { // mpBitmap always has a bit count of 24 => use of GetPixel(...) is safe maColor = pReadAccess->GetPixel( nY, nX ); - mpBitmap->ReleaseAccess( pReadAccess ); + Bitmap::ReleaseAccess( pReadAccess ); pReadAccess = NULL; } } @@ -836,7 +836,7 @@ void ColorSliderControl::UpdateBitmap() break; } - mpBitmap->ReleaseAccess( pWriteAccess ); + Bitmap::ReleaseAccess( pWriteAccess ); } } diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index c9ced2ca8033..eeac4d70eedf 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -491,7 +491,7 @@ IMPL_LINK( SvxGrfCropPage, CropHdl, const MetricField *, pField ) m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit ); } } - if (Application::GetSettings().GetLayoutRTL()) + if (AllSettings::GetLayoutRTL()) { m_pExampleWN->SetLeft(nRight); m_pExampleWN->SetRight(nLeft); |