summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/source/msfilter/escherex.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 56ed5c39914a..022a966bad2e 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -690,7 +690,9 @@ void EscherPropertyContainer::CreateTextProperties(
// n#404221: In case of rotation we need to write the txtflTextFlow
// attribute too.
- if (bIsTextFrame) {
+ // fdo#58204: not custom shapes (TODO: other cases when it doesn't work?)
+ if (bIsTextFrame && !bIsCustomShape)
+ {
sal_uInt16 nAngle = EscherPropertyValueHelper::GetPropertyValue(
aAny,
rXPropSet,