Kaydet (Commit) 3bebb3c2 authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: fix export of OOXML generator info

This time we did preserve this info, and we should not.

Change-Id: If2ddd7a266cd7da5642dc234411ce34e94bd3384
üst c1db9194
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <com/sun/star/xml/sax/XFastSAXSerializable.hpp> #include <com/sun/star/xml/sax/XFastSAXSerializable.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentProperties.hpp>
#include <unotools/mediadescriptor.hxx> #include <unotools/mediadescriptor.hxx>
#include <unotools/docinfohelper.hxx>
#include <sax/fshelper.hxx> #include <sax/fshelper.hxx>
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
...@@ -658,7 +659,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp ...@@ -658,7 +659,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp
writeElement( pAppProps, XML_HyperlinksChanged, "hyperlinks changed" ); writeElement( pAppProps, XML_HyperlinksChanged, "hyperlinks changed" );
writeElement( pAppProps, XML_DigSig, "digital signature" ); writeElement( pAppProps, XML_DigSig, "digital signature" );
#endif /* def OOXTODO */ #endif /* def OOXTODO */
writeElement( pAppProps, XML_Application, xProperties->getGenerator() ); writeElement( pAppProps, XML_Application, utl::DocInfoHelper::GetGeneratorString() );
#ifdef OOXTODO #ifdef OOXTODO
writeElement( pAppProps, XML_AppVersion, "app version" ); writeElement( pAppProps, XML_AppVersion, "app version" );
writeElement( pAppProps, XML_DocSecurity, "doc security" ); writeElement( pAppProps, XML_DocSecurity, "doc security" );
......
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