| commit | e694119f1246e46b2f525e6111b3c7c775909f91 | [log] |
|---|---|---|
| author | Julien Nabet <serval2412@yahoo.fr> | Wed Dec 26 18:13:58 2018 +0100 |
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | Mon Dec 31 21:45:34 2018 +0100 |
| tree | 071eebdb4e2a89f0db8968c205ed50b366868d1a | |
| parent | 924c704719bb99bd3036f693ccf11e35d68e5768 [diff] |
tdf#122335: sub-view-size can only be used with ODF ver > 1.2 Change-Id: I7dd767fddd11319017a215c240684dcc17238c4e Reviewed-on: https://gerrit.libreoffice.org/65626 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 44f4f70..fbbd35f 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:sub-view-size (do not export in ODF 1.2 or older) if (rExport.getDefaultVersion() <= SvtSaveOptions::ODFVER_012) { continue; } uno::Sequence< awt::Size > aSubViewSizes; rProp.Value >>= aSubViewSizes;