diff options
Diffstat (limited to 'xmloff/source/draw/ximpshap.cxx')
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index ec3c06ad1db2..15219b4fd23c 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -3671,7 +3671,8 @@ SdXMLCustomShapeContext::SdXMLCustomShapeContext( { rtl::Reference<XMLTextImportHelper> xTxtImport = GetImport().GetTextImport(); XMLPropStyleContext* pStyle = xTxtImport->FindAutoFrameStyle(aStyleName); - if (pStyle && !pStyle->GetParentName().isEmpty()) + // Note that this an API name, so intentionally not localized. + if (pStyle && pStyle->GetParentName() == "Frame") { mbTextBox = true; break; |