Kaydet (Commit) 317e3d43 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Tamás Zolnai

crashtesting: failure on exporting tdf95568-1.ots to xlsx

since...

commit c0cc02e2
Date:   Thu Aug 17 21:47:22 2017 +0200

    tdf#50097: DOCX: export form controls as MSO ActiveX controls

Change-Id: I55f1dcbe454e696df71a7656c796e36e91c42762
Reviewed-on: https://gerrit.libreoffice.org/41651Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 75010574
...@@ -425,9 +425,13 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj, ...@@ -425,9 +425,13 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj,
const Reference< XPropertySet > xPropSet(rObj.mXPropSet, UNO_QUERY); const Reference< XPropertySet > xPropSet(rObj.mXPropSet, UNO_QUERY);
if(xPropSet.is()) if(xPropSet.is())
{ {
text::TextContentAnchorType eAnchorType; const Reference<XPropertySetInfo> xPropInfo = xPropSet->getPropertySetInfo();
xPropSet->getPropertyValue("AnchorType") >>= eAnchorType; if (xPropInfo.is() && xPropInfo->hasPropertyByName("AnchorType"))
bInline = eAnchorType == text::TextContentAnchorType_AS_CHARACTER; {
text::TextContentAnchorType eAnchorType;
xPropSet->getPropertyValue("AnchorType") >>= eAnchorType;
bInline = eAnchorType == text::TextContentAnchorType_AS_CHARACTER;
}
} }
if(bInline) if(bInline)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment