diff options
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); |