summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-11-22 19:52:41 +0100
committerEike Rathke <erack@redhat.com>2013-11-22 19:54:38 +0100
commitbe853f8eb2c2a4a681f7003d96f46b06d2410522 (patch)
treea4a1d97978b35a721d678f3228f9eac144206114 /writerfilter
parentf6e2d66c948ed8314d0c0043182a103956460ffc (diff)
init nRotation [-Werror=maybe-uninitialized]
Change-Id: Ia48c8e3ef9dfb1f1f881845813ada518231352f2 (cherry picked from commit 44397a6f36ae6db697899c4595afe617e5fbe8ca)
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/GraphicImport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 7c3de0075137..304a3d21eff1 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 );