diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-24 08:59:36 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-24 10:10:34 +0200 |
commit | 52f2edaa596159828b95313e55d8df3bb289aaee (patch) | |
tree | 72d5d955262ca869f2eb4d059d93448335de6319 /vcl/Library_vclplug_qt5.mk | |
parent | 7de061883ddd185e5f36fe39cab0326d8a73b947 (diff) |
qt: Move resolution calc to static helper method
Instead of duplicating the same code in both,
`QtGraphics::GetResolution` and
`QtSvpGraphics::GetResolution`, create a static
helper method `QtGraphicsBase::ImplGetResolution`
in their base class and call that.
While at it, also move `QtGraphics::GetResolution`
to the source file where all of the other
`QtGraphics` methods are implemented.
Change-Id: I721459e8b65756f214fee77ac4d3cb8e500f0b57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170930
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/Library_vclplug_qt5.mk')
-rw-r--r-- | vcl/Library_vclplug_qt5.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/Library_vclplug_qt5.mk b/vcl/Library_vclplug_qt5.mk index f29090d9dd9d..14782ca89dc3 100644 --- a/vcl/Library_vclplug_qt5.mk +++ b/vcl/Library_vclplug_qt5.mk @@ -87,6 +87,7 @@ $(eval $(call gb_Library_add_exception_objects,vclplug_qt5,\ vcl/qt5/QtFontFace \ vcl/qt5/QtFrame \ vcl/qt5/QtGraphics \ + vcl/qt5/QtGraphicsBase \ vcl/qt5/QtGraphics_Controls \ vcl/qt5/QtGraphics_GDI \ vcl/qt5/QtGraphics_Text \ |