diff options
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/dndevdis.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/floatwin.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 4 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/window/dndevdis.cxx b/vcl/source/window/dndevdis.cxx index 7ccaa99f298c..dabfef79569e 100644 --- a/vcl/source/window/dndevdis.cxx +++ b/vcl/source/window/dndevdis.cxx @@ -51,7 +51,7 @@ vcl::Window* DNDEventDispatcher::findTopLevelWindow(Point location) // find the window that is toplevel for this coordinates // because those coordinates come from outside, they must be mirrored if RTL layout is active - if( Application::GetSettings().GetLayoutRTL() ) + if( AllSettings::GetLayoutRTL() ) m_pTopWindow->ImplMirrorFramePos( location ); vcl::Window * pChildWindow = m_pTopWindow->ImplFindWindow( location ); diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index f7089c162dda..13734851ab9b 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -221,7 +221,7 @@ Point FloatingWindow::ImplCalcPos( vcl::Window* pWindow, Rectangle normRect( rRect ); // rRect is already relative to top-level window normRect.SetPos( pW->ScreenToOutputPixel( normRect.TopLeft() ) ); - bool bRTL = Application::GetSettings().GetLayoutRTL(); + bool bRTL = AllSettings::GetLayoutRTL(); Rectangle devRect( pW->OutputToAbsoluteScreenPixel( normRect.TopLeft() ), pW->OutputToAbsoluteScreenPixel( normRect.BottomRight() ) ); diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 8d7339fcb696..6fdb764bf2b5 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -905,7 +905,7 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p } if( pParent && ! mpWindowImpl->mbFrame ) - mbEnableRTL = Application::GetSettings().GetLayoutRTL(); + mbEnableRTL = AllSettings::GetLayoutRTL(); // test for frame creation if ( mpWindowImpl->mbFrame ) @@ -1192,7 +1192,7 @@ void Window::ImplInitWindowData( WindowType nType ) meOutDevType = OUTDEV_WINDOW; - mbEnableRTL = Application::GetSettings().GetLayoutRTL(); // true: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active + mbEnableRTL = AllSettings::GetLayoutRTL(); // true: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active } void Window::getFrameDev( const Point& rPt, const Point& rDevPt, const Size& rDevSize, OutputDevice& rDev ) diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index d3df6d03729d..890cb61a9452 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -2536,7 +2536,7 @@ bool ImplWindowFrameProc( vcl::Window* pWindow, SalFrame* /*pFrame*/, { SalPaintEvent const * pPaintEvt = static_cast<SalPaintEvent const *>(pEvent); - if( Application::GetSettings().GetLayoutRTL() ) + if( AllSettings::GetLayoutRTL() ) { // --- RTL --- (mirror paint rect) SalFrame* pSalFrame = pWindow->ImplGetWindowImpl()->mpFrame; |