From d1a4a2543f6e8c19de3dcff11c8b5b39966d7fba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 24 Jan 2021 19:09:26 +0200 Subject: Window::HasMirroredGraphics is unnecessary because it just calls it's superclass method (although in a complicated way). Ever since commit 19c5867f922e9acf0564b6213fa15cc899a77c16 Date: Fri Feb 7 22:32:58 2014 +1100 fdo#74424 HasMirroredGraphics changes Change-Id: Ie4a706aab527ab648bead2ffa9854230e1e0a580 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109860 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/window.hxx | 2 -- vcl/source/window/globalization.cxx | 6 ------ 2 files changed, 8 deletions(-) diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 12dc985281be..4decec615469 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -767,8 +767,6 @@ protected: virtual bool UsePolyPolygonForComplexGradient() override; virtual void ApplySettings(vcl::RenderContext& rRenderContext); -public: - bool HasMirroredGraphics() const override; public: // Single argument ctors shall be explicit. diff --git a/vcl/source/window/globalization.cxx b/vcl/source/window/globalization.cxx index 1c56638c6502..d5ae5c5747ad 100644 --- a/vcl/source/window/globalization.cxx +++ b/vcl/source/window/globalization.cxx @@ -28,12 +28,6 @@ void Window::EnableRTL ( bool bEnable ) OutputDevice::EnableRTL(bEnable); } -bool Window::HasMirroredGraphics() const -{ - const OutputDevice* pOutDev = GetOutDev(); - return pOutDev->OutputDevice::HasMirroredGraphics(); -} - } /* namespace vcl */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit