diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 15:10:25 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 15:10:25 +0000 |
commit | 15c8aa5fb2cc9706b9caf5b1e8dbbbfdd918cad2 (patch) | |
tree | 544cd85687dc3dfe3efd057a80f764854b1ad2d8 /xmloff | |
parent | c93e69ea56598b536c01021117f17cb8dc08b049 (diff) |
INTEGRATION: CWS chart2mst3 (1.15.20); FILE MERGED
2007/04/24 21:39:20 bm 1.15.20.5: RESYNC: (1.19-1.20); FILE MERGED
2006/11/25 10:42:59 bm 1.15.20.4: RESYNC: (1.18-1.19); FILE MERGED
2006/11/24 21:28:26 bm 1.15.20.3: RESYNC: (1.17-1.18); FILE MERGED
2006/10/19 10:22:59 bm 1.15.20.2: RESYNC: (1.15-1.17); FILE MERGED
2006/07/26 16:04:35 bm 1.15.20.1: #i60323# export generator even if xInfoProp is empty. This is necessary for charts, that do not support document info, but need the generator in the meta stream.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/meta/xmlmetae.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx index 8539dd1d5b1b..3108a8655d21 100644 --- a/xmloff/source/meta/xmlmetae.cxx +++ b/xmloff/source/meta/xmlmetae.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmlmetae.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2007-04-18 07:49:11 $ + * last change: $Author: vg $ $Date: 2007-05-22 16:10:25 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -332,8 +332,8 @@ rtl::OUString lcl_GetProductName() void SfxXMLMetaExport::Export() { - if ( !xInfoProp.is() ) return; - + // BM: #i60323# export generator even if xInfoProp is empty (which is the + // case for charts). The generator does not depend on xInfoProp rtl::OUString sElem, sSubElem, sAttrName, sValue; uno::Any aPropVal; @@ -346,6 +346,8 @@ void SfxXMLMetaExport::Export() rExport.Characters( sValue ); } + if ( !xInfoProp.is() ) return; + // document title SimpleStringElement( ::rtl::OUString::createFromAscii(PROP_TITLE), XML_NAMESPACE_DC, XML_TITLE ); |