diff options
author | sj <sj@openoffice.org> | 2010-01-18 14:40:48 +0100 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-01-18 14:40:48 +0100 |
commit | 9d8149396e1d60f8341302ac3c52c811f388d9de (patch) | |
tree | 030e6d30c1d12506fac149ee32591cf65fccb4ac /sc | |
parent | ed37800fa29851609f49fd879225491e878239c7 (diff) |
#i108328# fixed textorientation problem
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 5 |
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() ) |