diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-23 19:10:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-23 19:11:52 +0000 |
commit | 0b901a9760a22bdc6f83829b077c30ec08613e17 (patch) | |
tree | 14b0b9f761322f8f0eefefaf6da111ee39019f7a /oox | |
parent | ea708936c4684668f9aefc3ce9ec2001dbd4bdf2 (diff) |
crashtesting: export of ooo40765-1.sxw to docx fails
Change-Id: I57d5e085e612908e7a22f444c771ec9fa45485ce
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/shapes.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx index 364822f811d0..9fcff756829e 100644 --- a/oox/source/export/shapes.cxx +++ b/oox/source/export/shapes.cxx @@ -306,11 +306,11 @@ uno::Reference<io::XInputStream> GetOLEObjectStream( try { uno::Reference<document::XStorageBasedDocument> const xParent( - uno::Reference<container::XChild>(xObj, uno::UNO_QUERY)->getParent(), - uno::UNO_QUERY); + uno::Reference<container::XChild>(xObj, uno::UNO_QUERY_THROW)->getParent(), + uno::UNO_QUERY_THROW); uno::Reference<embed::XStorage> const xParentStorage(xParent->getDocumentStorage()); OUString const entryName( - uno::Reference<embed::XEmbedPersist>(xObj, uno::UNO_QUERY)->getEntryName()); + uno::Reference<embed::XEmbedPersist>(xObj, uno::UNO_QUERY_THROW)->getEntryName()); if (xParentStorage->isStreamElement(entryName)) { |