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:38:29 +0200 |
commit | b5e0ea4ae944482f43de447668758348ce0251c4 (patch) | |
tree | 885f62c525fff04725c882d5b2be3e732a15c774 /oox | |
parent | 9ec248e390f3384cbd1ff86f0f69af27ec1e8823 (diff) |
oox: fix export of OOXML generator info
This time we did preserve this info, and we should not.
Change-Id: If2ddd7a266cd7da5642dc234411ce34e94bd3384
(cherry picked from commit 3bebb3c2d25601767e950de02f2d549acbdaa2d2)
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" ); |