summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-10-24 16:21:51 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-10-25 09:34:43 +0200
commit6b7239855d8babdc1bcc7742f79ce2df64d1e476 (patch)
tree216d7181c8b08931cc5b9041000528723896783b /writerfilter
parent6c10db81dedd906a45c72254b422f748739dc9c0 (diff)
fdo#82859 RTF import: don't try to set CustomShapeGeometry on a TextFrame
Change-Id: I687fa609559f0484fe6bb804265243de154c3760
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfsdrimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfsdrimport.cxx b/writerfilter/source/rtftok/rtfsdrimport.cxx
index fcb5b9c37b82..df1c1850f5af 100644
--- a/writerfilter/source/rtftok/rtfsdrimport.cxx
+++ b/writerfilter/source/rtftok/rtfsdrimport.cxx
@@ -824,7 +824,7 @@ void RTFSdrImport::resolve(RTFShape& rShape, bool bClose, ShapeOrPict const shap
aPropertyValue.Value <<= aPath.getAsConstList();
aGeometry.push_back(aPropertyValue);
}
- if (!aGeometry.empty() && xPropertySet.is())
+ if (!aGeometry.empty() && xPropertySet.is() && !m_bTextFrame)
xPropertySet->setPropertyValue("CustomShapeGeometry", uno::Any(aGeometry.getAsConstList()));
// Set position and size