summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorsj <sj@openoffice.org>2010-01-18 14:40:48 +0100
committersj <sj@openoffice.org>2010-01-18 14:40:48 +0100
commit9d8149396e1d60f8341302ac3c52c811f388d9de (patch)
tree030e6d30c1d12506fac149ee32591cf65fccb4ac /sc
parented37800fa29851609f49fd879225491e878239c7 (diff)
#i108328# fixed textorientation problem
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xiescher.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 990351fe2471..dece34280d8b 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -1459,8 +1459,9 @@ void XclImpTextObj::DoProcessSdrObj( SdrObject& rSdrObj ) const
com::sun::star::beans::PropertyValue aTextRotateAngle;
aTextRotateAngle.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "TextRotateAngle" ) );
aTextRotateAngle.Value <<= fAngle;
- SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&)pObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY );
- rGeometryItem.SetPropertyValue( aTextRotateAngle );
+ SdrCustomShapeGeometryItem aGeometryItem((SdrCustomShapeGeometryItem&)pObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ));
+ aGeometryItem.SetPropertyValue( aTextRotateAngle );
+ pObjCustomShape->SetMergedItem( aGeometryItem );
}
eWriteMode = csst::WritingMode_TB_RL;
switch( maTextData.maData.GetHorAlign() )