[Libreoffice-commits] core.git: include/vcl vcl/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 24 18:12:31 UTC 2021


 include/vcl/window.hxx              |    2 --
 vcl/source/window/globalization.cxx |    6 ------
 2 files changed, 8 deletions(-)

New commits:
commit d1a4a2543f6e8c19de3dcff11c8b5b39966d7fba
Author:     Noel Grandin <noelgrandin at gmail.com>
AuthorDate: Sun Jan 24 19:09:26 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jan 24 19:11:55 2021 +0100

    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 at collabora.co.uk>

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: */


More information about the Libreoffice-commits mailing list