diff options
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index ba792d13f128..7c7af84385f1 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2654,16 +2654,13 @@ void SdXMLExport::exportAnnotations( const Reference<XDrawPage>& xDrawPage ) this->Characters(aAuthor); } - if (SvtSaveOptions().GetODFDefaultVersion() > SvtSaveOptions::ODFVER_012) + // initials + OUString aInitials( xAnnotation->getInitials() ); + if( !aInitials.isEmpty() ) { - // initials - OUString aInitials( xAnnotation->getInitials() ); - if( !aInitials.isEmpty() ) - { - SvXMLElementExport aInitialsElem( *this, XML_NAMESPACE_LO_EXT, - XML_SENDER_INITIALS, true, false ); - this->Characters(aInitials); - } + SvXMLElementExport aInitialsElem( *this, XML_NAMESPACE_LO_EXT, + XML_SENDER_INITIALS, true, false ); + this->Characters(aInitials); } { |