[Libreoffice-commits] core.git: drawinglayer/source

Miklos Vajna vmiklos at collabora.co.uk
Tue Apr 19 13:22:48 UTC 2016


 drawinglayer/source/primitive2d/borderlineprimitive2d.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cac70559013e575009657aa3c5168b88b1f14691
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Apr 19 15:21:31 2016 +0200

    drawinglayer: fix Android-specific typo
    
    The intention is to call the real function, not the template itself.
    
    Change-Id: Ib10ac4877b33554fe3a5c0918de43bea6e62cfc9

diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
index f467aee..63736d6 100644
--- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
@@ -36,7 +36,7 @@ namespace std
 template<typename T>
 T round(T x)
 {
-    return round(x);
+    return ::round(x);
 }
 }
 #endif


More information about the Libreoffice-commits mailing list