[Libreoffice-commits] core.git: vcl/backendtest

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 3 13:00:43 UTC 2021


 vcl/backendtest/outputdevice/line.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22681004895467fe9bb36c08591eb2ab18481334
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Jun 3 09:43:51 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Jun 3 15:00:02 2021 +0200

    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 at collabora.com>

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()),


More information about the Libreoffice-commits mailing list