summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-01 21:15:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-01 21:21:02 +0000
commit09b856289c44c0fe792082b681d48cf5ee70d808 (patch)
tree2ef494f3758e6acee8e9e8f58f8e1ea74464aa45 /xmloff/source/text
parentceab440bf2bb4d414e5bac65c385167901d5a983 (diff)
crashtesting: a gadzillion failures on export to odp
e.g. fdo35235-1.odp Change-Id: I259cdc9ed073be2ad7d5208cd943d4f193f09c16 (cherry picked from commit f1c08d6503442ec257aa8535dfbe3743c743e4a0)
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/txtparae.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index d25e527c5d89..12a710342803 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -1643,6 +1643,9 @@ void XMLTextParagraphExport::exportText(
GetExport().GetShapeExport(); // make sure the graphics styles family
// is added
Reference < XEnumerationAccess > xEA( rText, UNO_QUERY );
+ if( ! xEA.is() )
+ return;
+
Reference < XEnumeration > xParaEnum(xEA->createEnumeration());
Reference < XPropertySet > xPropertySet( rText, UNO_QUERY );
Reference < XTextSection > xBaseSection;