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

Stephan Bergmann sbergman at redhat.com
Tue Apr 28 07:18:32 PDT 2015


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

New commits:
commit aef1826d9ca318a1359a2116e7f146e993413234
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 28 16:17:40 2015 +0200

    default initialization of object of const type w/o user-provided default ctor
    
    Change-Id: I99266457d43f9279af32d75d2842480291b6e91d

diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index fa19d1d..d953d3b 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -1968,7 +1968,7 @@ namespace
 
                     if(nTextLength && rPropertyHolders.Current().getTextColorActive())
                     {
-                        const std::vector< double > aDXArray;
+                        const std::vector< double > aDXArray{};
                         processMetaTextAction(
                             pA->GetPoint(),
                             pA->GetText(),


More information about the Libreoffice-commits mailing list