[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - writerfilter/source

Eike Rathke erack at redhat.com
Fri Nov 22 10:56:32 PST 2013


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

New commits:
commit be853f8eb2c2a4a681f7003d96f46b06d2410522
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Nov 22 19:52:41 2013 +0100

    init nRotation [-Werror=maybe-uninitialized]
    
    Change-Id: Ia48c8e3ef9dfb1f1f881845813ada518231352f2
    (cherry picked from commit 44397a6f36ae6db697899c4595afe617e5fbe8ca)

diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 7c3de007..304a3d2 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -908,7 +908,7 @@ void GraphicImport::lcl_attribute(Id nName, Value & val)
                         OUString sUrl;
                         xShapeProps->getPropertyValue("GraphicURL") >>= sUrl;
 
-                        sal_Int32 nRotation;
+                        sal_Int32 nRotation = 0;
                         xShapeProps->getPropertyValue("RotateAngle") >>= nRotation;
 
                         ::com::sun::star::beans::PropertyValues aMediaProperties( 1 );


More information about the Libreoffice-commits mailing list