summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/draw/shapeexport.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 44f4f7051d98..6dce321f61fd 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -4571,6 +4571,11 @@ static void ImpExportEnhancedGeometry( SvXMLExport& rExport, const uno::Referenc
{
case EAS_SubViewSize:
{
+ // export draw:display (do not export in ODF 1.2 or older)
+ if (rExport.getDefaultVersion() <= SvtSaveOptions::ODFVER_012)
+ {
+ continue;
+ }
uno::Sequence< awt::Size > aSubViewSizes;
rProp.Value >>= aSubViewSizes;