diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-22 10:22:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-22 10:29:35 +0200 |
commit | 3bebb3c2d25601767e950de02f2d549acbdaa2d2 (patch) | |
tree | 2e82596662034c009f3da2010dd04f2b6b47b650 /oox | |
parent | c1db9194a53f3da7688db99993463309f65659e8 (diff) |
oox: fix export of OOXML generator info
This time we did preserve this info, and we should not.
Change-Id: If2ddd7a266cd7da5642dc234411ce34e94bd3384
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/core/xmlfilterbase.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx index 14d50fc0f3c6..746ba2ed913b 100644 --- a/oox/source/core/xmlfilterbase.cxx +++ b/oox/source/core/xmlfilterbase.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/xml/sax/XFastSAXSerializable.hpp> #include <com/sun/star/document/XDocumentProperties.hpp> #include <unotools/mediadescriptor.hxx> +#include <unotools/docinfohelper.hxx> #include <sax/fshelper.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> @@ -658,7 +659,7 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xProp writeElement( pAppProps, XML_HyperlinksChanged, "hyperlinks changed" ); writeElement( pAppProps, XML_DigSig, "digital signature" ); #endif /* def OOXTODO */ - writeElement( pAppProps, XML_Application, xProperties->getGenerator() ); + writeElement( pAppProps, XML_Application, utl::DocInfoHelper::GetGeneratorString() ); #ifdef OOXTODO writeElement( pAppProps, XML_AppVersion, "app version" ); writeElement( pAppProps, XML_DocSecurity, "doc security" ); |