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

Caolán McNamara caolanm at redhat.com
Tue Apr 8 07:04:32 PDT 2014


 writerfilter/source/dmapper/DomainMapper_Impl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d356395ec37a9ba06e0a6f1ddc150245e2b3898d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 8 15:02:56 2014 +0100

    WaE: -Werror=maybe-uninitialized
    
    Change-Id: Idc72dde52280fd3dc1721ad9f4d8df38017e18f0

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index d6c97ed..527a172 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1752,7 +1752,7 @@ void DomainMapper_Impl::PushShapeContext( const uno::Reference< drawing::XShape
                     if (aGrabBag[i].Name == "VML-Z-ORDER")
                     {
                         GraphicZOrderHelper* pZOrderHelper = m_rDMapper.graphicZOrderHelper();
-                        sal_Int32 zOrder;
+                        sal_Int32 zOrder(0);
                         aGrabBag[i].Value >>= zOrder;
                         xShapePropertySet->setPropertyValue( "ZOrder", uno::makeAny(pZOrderHelper->findZOrder(zOrder)));
                         pZOrderHelper->addItem(xShapePropertySet, zOrder);


More information about the Libreoffice-commits mailing list