diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-02-03 16:46:04 +1100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-05 14:24:16 +0000 |
commit | fba46c6efd08d50fee92cc11546f3ed253a57af8 (patch) | |
tree | 5b36da961e7841a8f9e96ea6c52eabcc9ed22157 /vcl/source/window/dndevdis.cxx | |
parent | d662116bb978190693432c8725757d36dd6e7232 (diff) |
fdo#74424 Use Window::GetOutDev() to access ImplReMirrored()
Part of the decoupling of Window from OutputDevice. We now get
he Window's OutputDevice instance and manipulate this. Do not rely
on the inherited function.
Conflicts:
include/vcl/window.hxx
Change-Id: Ie422df837e1596881b61d34a1627b0ecc668a54e
Reviewed-on: https://gerrit.libreoffice.org/7793
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/dndevdis.cxx')
-rw-r--r-- | vcl/source/window/dndevdis.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/window/dndevdis.cxx b/vcl/source/window/dndevdis.cxx index 74101c607447..e278e9554369 100644 --- a/vcl/source/window/dndevdis.cxx +++ b/vcl/source/window/dndevdis.cxx @@ -67,7 +67,10 @@ Window* DNDEventDispatcher::findTopLevelWindow(Point location) pChildWindow = pChildWindow->ImplGetClientWindow(); if( pChildWindow->ImplIsAntiparallel() ) - pChildWindow->ImplReMirror( location ); + { + const OutputDevice *pChildWinOutDev = pChildWindow->GetOutDev(); + pChildWinOutDev->ImplReMirror( location ); + } return pChildWindow; } |