diff options
author | Adrien Ollier <adr.ollier@hotmail.fr> | 2019-11-24 11:08:15 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-01-19 11:33:40 +0100 |
commit | fcc0fea62a6985699dfa88136f22cb19be6232bd (patch) | |
tree | 89beff8f0d7579e75981c31cbed9c0633e0089e2 /vcl/source/window/window3.cxx | |
parent | 1ff79cfaf746aa65d9fa19e82f14da8d8a2d9209 (diff) |
tdf#74702: clean up of OutputDevice::SetMapMode
All changes are formatted using clang-format utility.
Change-Id: Icfa7ae22bc06e57c7f7cb512813966dcefd4fc40
Signed-off-by: Adrien Ollier <adr.ollier@hotmail.fr>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/83601
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source/window/window3.cxx')
-rw-r--r-- | vcl/source/window/window3.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/source/window/window3.cxx b/vcl/source/window/window3.cxx index 565a81eb292e..c99d085f41e5 100644 --- a/vcl/source/window/window3.cxx +++ b/vcl/source/window/window3.cxx @@ -20,6 +20,7 @@ #include <vcl/window.hxx> #include <vcl/waitobj.hxx> #include <window.h> +#include <vcl/cursor.hxx> WaitObject::~WaitObject() { @@ -55,7 +56,13 @@ void Window::ImplRefreshFontData(bool bNewFontLists) pChild->ImplRefreshFontData(bNewFontLists); } -} /* namespace vcl */ +void Window::ImplInitMapModeObjects() +{ + OutputDevice::ImplInitMapModeObjects(); + if (mpWindowImpl->mpCursor) + mpWindowImpl->mpCursor->ImplNew(); +} +} /* namespace vcl */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |