summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-12-15 11:56:09 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-01-01 16:04:27 +0100
commit8d6343e6b29fc6162d88b25dfa3a165e0d1b063d (patch)
tree8e38d09779b2050564e5ff608c71fb6de55e3997 /vcl/unx/generic
parent977e0bf1fc468976cf9b86df142807039623a71c (diff)
vcl: move drawPolyLine (+legacy) to SvpGraphicsBackend
Also moves drawPolyLine with cairo context param. to CairoCommon as it is also needed in X11SalGraphics::drawPolyLine. Change-Id: I49b24bc31ecf3f6ab3cebca4eaab351c91564db5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127740 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx
index 3b2946e2f18c..b5e1432764e6 100644
--- a/vcl/unx/generic/gdi/salgdi.cxx
+++ b/vcl/unx/generic/gdi/salgdi.cxx
@@ -733,7 +733,7 @@ bool X11SalGraphics::drawPolyLine(
// Use the now available static drawPolyLine from the Cairo-Headless-Fallback
// that will take care of all needed stuff
const bool bRetval(
- SvpSalGraphics::drawPolyLine(
+ CairoCommon::drawPolyLine(
cr,
nullptr,
mnPenColor,