summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-10 14:35:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-11 08:49:02 +0000
commitb8c66c7f9b25ff88994aef92f56f61f176dc8a6f (patch)
treedc1ecf15a8c85021bc46972d08e52510c91d63bd /vcl/unx/generic
parent1293656284893209ca174f42d19b2fa72a40117a (diff)
move getRenderBackendName to X11CairoSalGraphicsImpl
Change-Id: I8f1ff3891623cc8759a9a6146c627c3f14b87a70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145273 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/X11CairoSalGraphicsImpl.hxx2
-rw-r--r--vcl/unx/generic/gdi/gdiimpl.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/X11CairoSalGraphicsImpl.hxx b/vcl/unx/generic/gdi/X11CairoSalGraphicsImpl.hxx
index 1b5867afe505..a70abab552c3 100644
--- a/vcl/unx/generic/gdi/X11CairoSalGraphicsImpl.hxx
+++ b/vcl/unx/generic/gdi/X11CairoSalGraphicsImpl.hxx
@@ -32,6 +32,8 @@ private:
public:
X11CairoSalGraphicsImpl(X11SalGraphics& rParent, CairoCommon& rCairoCommon);
+ virtual OUString getRenderBackendName() const override { return "gen"; }
+
void ResetClipRegion() override
{
mrCairoCommon.m_aClipRegion.SetNull();
diff --git a/vcl/unx/generic/gdi/gdiimpl.hxx b/vcl/unx/generic/gdi/gdiimpl.hxx
index dfa55ae73c22..6832ddf61d09 100644
--- a/vcl/unx/generic/gdi/gdiimpl.hxx
+++ b/vcl/unx/generic/gdi/gdiimpl.hxx
@@ -77,8 +77,6 @@ public:
virtual ~X11SalGraphicsImpl() override;
- virtual OUString getRenderBackendName() const override { return "gen"; }
-
virtual void setClipRegion( const vcl::Region& ) override;
//
// get the depth of the device