vcl/source/window/window.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 674ea3f1ee1614b90cdfaaab65226834428a1a07
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Thu Apr 24 09:10:34 2025 +0200
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Thu Apr 24 10:34:20 2025 +0200

    Don't use different ways to refer to the same thing
    
    Change-Id: I78ec70410e1ee11ee98a8f1358c1b623f6ca0b72
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184533
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Tested-by: Jenkins

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index ba7fa5633331..e2bb05a59afe 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1101,7 +1101,7 @@ void Window::ImplInit( vcl::Window* pParent, WinBits 
nStyle, SystemParentData* p
             OutputDevice *pOutDev = GetOutDev();
             if ( pOutDev->AcquireGraphics() )
             {
-                mpWindowImpl->mxOutDev->mpGraphics->GetResolution( 
mpWindowImpl->mpFrameData->mnDPIX, mpWindowImpl->mpFrameData->mnDPIY );
+                pOutDev->mpGraphics->GetResolution( 
mpWindowImpl->mpFrameData->mnDPIX, mpWindowImpl->mpFrameData->mnDPIY );
             }
         }
 

Reply via email to