summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-06-03 09:43:51 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-06-03 15:00:02 +0200
commit22681004895467fe9bb36c08591eb2ab18481334 (patch)
treec339d97f92ea65e62d763b7997c293b1e9501948
parent340a285d925d8bef2b9d1c19f2744dbb14823c77 (diff)
vcl: fix clang7 build
vcl/backendtest/outputdevice/line.cxx:126:17: error: no viable constructor or deduction guide for deduction of template arguments of 'vector' Change-Id: I8009637caaba460f9b5ea256f782517e4f1a4be7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116639 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--vcl/backendtest/outputdevice/line.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/backendtest/outputdevice/line.cxx b/vcl/backendtest/outputdevice/line.cxx
index 48526bde6fca..ad5995124a71 100644
--- a/vcl/backendtest/outputdevice/line.cxx
+++ b/vcl/backendtest/outputdevice/line.cxx
@@ -123,7 +123,7 @@ Bitmap OutputDeviceTestLine::setupDashedLine()
tools::Rectangle rectangle = maVDRectangle;
rectangle.shrink(2);
- std::vector stroke({ 2.0, 1.0 });
+ std::vector<double> stroke({ 2.0, 1.0 });
mpVirtualDevice->DrawPolyLineDirect( basegfx::B2DHomMatrix(),
basegfx::B2DPolygon{
basegfx::B2DPoint(rectangle.getX(), rectangle.getY()),