summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-01-24 19:09:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-24 19:11:55 +0100
commitd1a4a2543f6e8c19de3dcff11c8b5b39966d7fba (patch)
treedf1f488c19818a1c686eba7b07547dbf14ea4a1d
parent2149960b862b83ff7678ce3cba37c226269edbd9 (diff)
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 <noel.grandin@collabora.co.uk>
-rw-r--r--include/vcl/window.hxx2
-rw-r--r--vcl/source/window/globalization.cxx6
2 files changed, 0 insertions, 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: */