summaryrefslogtreecommitdiff
path: root/vcl/inc/skia/osx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-07-17 12:16:58 +0300
committerخالد حسني <khaled@libreoffice.org>2023-07-23 06:01:31 +0200
commitc46f8c356d812230c3a43cd08fb79674be88d9a8 (patch)
tree005a5ee8a4794b590c52b7a7f20015f8fcad1281 /vcl/inc/skia/osx
parent172b500ccbc8dac0496cc2936a9bcca793c0b594 (diff)
vcl: Simplify AquaGraphics*::drawTextLayout() calling
Take TextRenderModeForResolutionIndependentLayout() from the SalLayout argument instead of passing it separately. Change-Id: I155ea645e401618ad884fdc36c4c1aeab69980ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154516 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl/inc/skia/osx')
-rw-r--r--vcl/inc/skia/osx/gdiimpl.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/inc/skia/osx/gdiimpl.hxx b/vcl/inc/skia/osx/gdiimpl.hxx
index b90b576a873f..b97245e86e11 100644
--- a/vcl/inc/skia/osx/gdiimpl.hxx
+++ b/vcl/inc/skia/osx/gdiimpl.hxx
@@ -38,8 +38,7 @@ public:
const tools::Rectangle& rControlRegion, ControlState nState,
const ImplControlValue& aValue) override;
- virtual void drawTextLayout(const GenericSalLayout& layout,
- bool bTextRenderModeForResolutionIndependentLayout) override;
+ virtual void drawTextLayout(const GenericSalLayout& layout) override;
virtual void Flush() override;
virtual void Flush(const tools::Rectangle&) override;