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

Stephan Bergmann sbergman at redhat.com
Sat Feb 16 13:48:42 PST 2013


 vcl/source/gdi/svgdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b62048701cea5024383e19314592f2edcd9810fd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sat Feb 16 22:39:13 2013 +0100

    Work around problem with boost::shared_array(NULL) ctor and Boost 1.53.0
    
    ...claiming
    
      template<class Y> boost::shared_array<T>::shared_array(Y*)
    
    is not a viable option due to mismatched types 'Y*' and 'long int'
    
    Change-Id: I8db321cd25cd73c84fa2a3124c9ec1018c131d5f

diff --git a/vcl/source/gdi/svgdata.cxx b/vcl/source/gdi/svgdata.cxx
index 01707e6..e64646f 100644
--- a/vcl/source/gdi/svgdata.cxx
+++ b/vcl/source/gdi/svgdata.cxx
@@ -166,7 +166,7 @@ SvgData::SvgData(const SvgDataArray& rSvgDataArray, sal_uInt32 nSvgDataArrayLeng
 
 //////////////////////////////////////////////////////////////////////////////
 SvgData::SvgData(const OUString& rPath):
-    maSvgDataArray(NULL),
+    maSvgDataArray(),
     mnSvgDataArrayLength(0),
     maPath(rPath),
     maRange(),


More information about the Libreoffice-commits mailing list