Kaydet (Commit) 4b85affd authored tarafından Michael Stahl's avatar Michael Stahl

fdo#38752: xmloff: add assertion for default-page-layout

üst d8cb61f5
...@@ -255,6 +255,9 @@ void XMLPageExport::exportDefaultStyle() ...@@ -255,6 +255,9 @@ void XMLPageExport::exportDefaultStyle()
if( bExport ) if( bExport )
{ {
assert(GetExport().getDefaultVersion()
>= SvtSaveOptions::ODFVER_012);
//<style:default-page-layout> //<style:default-page-layout>
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
XML_DEFAULT_PAGE_LAYOUT, XML_DEFAULT_PAGE_LAYOUT,
......
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