summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-25 02:23:46 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-04-25 02:23:46 +0200
commitc39890d07dc857157756f0b6e57a2c8cbb3b4f54 (patch)
tree891d707f7fbd206a4e920fdb61ff20de147d06fe /oox
parente9fbe1f7cd28de2a9da8089d89e903406165eb56 (diff)
you are wrong you stupid compiler,it would crash or not used unitialized
Change-Id: I7ca4399d7e6c83a480d5e508ac6ac711fe71644d
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 80bcfba7ff57..72ed205e695b 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1058,7 +1058,7 @@ void ChartExport::exportTitle( Reference< XShape > xShape )
if( bVertical )
sWritingMode = "wordArtVert";
- sal_Int32 nRotation;
+ sal_Int32 nRotation = 0;
xPropSet->getPropertyValue("TextRotation") >>= nRotation;
pFS->singleElement( FSNS( XML_a, XML_bodyPr ),