summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/msfilter/escherex.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 5bf85dd78e43..f27f2b90675c 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -690,16 +690,10 @@ void EscherPropertyContainer::CreateTextProperties(
sal_True )
? (sal_uInt16)( ( *((sal_Int32*)aAny.getValue() ) ) + 5 ) / 10 : 0;
if (nAngle==900) {
- AddOpt( ESCHER_Prop_txflTextFlow, 1 );
- bSuppressRotation=true;
- }
- if (nAngle==1800) {
- AddOpt( ESCHER_Prop_txflTextFlow, 2 );
- bSuppressRotation=true;
+ AddOpt( ESCHER_Prop_txflTextFlow, ESCHER_txflBtoT );
}
if (nAngle==2700) {
- AddOpt( ESCHER_Prop_txflTextFlow, 3 );
- bSuppressRotation=true;
+ AddOpt( ESCHER_Prop_txflTextFlow, ESCHER_txflTtoBA );
}
}
}