diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-08-12 11:56:40 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-08-12 11:56:40 +0000 |
commit | bd460bb0386b37c0c6afbcd120d86e95604665f0 (patch) | |
tree | c56a60905568e81745126d1beef34ecd40ae4121 /sw/source | |
parent | 137abd75a890ef9edeb4410782cb9dc7b978d5b3 (diff) |
INTEGRATION: CWS tune05 (1.8.52); FILE MERGED
2004/07/23 16:21:53 mhu 1.8.52.2: RESYNC: (1.8-1.10); FILE MERGED
2004/07/22 08:01:02 cmc 1.8.52.1: #i30554# SvXMLExportItemMapper::exportXML varients unused
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/xml/xmlexpit.cxx | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/sw/source/filter/xml/xmlexpit.cxx b/sw/source/filter/xml/xmlexpit.cxx index a022af047938..8c24dfda4132 100644 --- a/sw/source/filter/xml/xmlexpit.cxx +++ b/sw/source/filter/xml/xmlexpit.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlexpit.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2004-07-13 09:06:49 $ + * last change: $Author: obo $ $Date: 2004-08-12 12:56:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -386,42 +386,6 @@ SvXMLExportItemMapper::~SvXMLExportItemMapper() { } -/** fills the given attribute list with the items in the given set */ -void SvXMLExportItemMapper::exportXML( SvXMLAttributeList& rAttrList, - const SfxItemSet& rSet, - const SvXMLUnitConverter& rUnitConverter, - const SvXMLNamespaceMap& rNamespaceMap, - sal_uInt16 nFlags /* = 0 */ ) const -{ - exportXML( rAttrList, rSet, rUnitConverter, rNamespaceMap, nFlags, 0 ); -} - - -void SvXMLExportItemMapper::exportXML( SvXMLAttributeList& rAttrList, - const SfxPoolItem& rItem, - const SvXMLUnitConverter& rUnitConverter, - const SvXMLNamespaceMap& rNamespaceMap, - sal_uInt16 nFlags ) const -{ - OUString sCDATA( GetXMLToken(XML_CDATA) ); - - const sal_uInt16 nWhich = rItem.Which(); - - const sal_uInt16 nCount = mrMapEntries->getCount(); - sal_uInt16 nIndex = 0; - - while( nIndex < nCount ) - { - SvXMLItemMapEntry* pEntry = mrMapEntries->getByIndex( nIndex ); - if( pEntry->nWhichId == nWhich && - 0 == (pEntry->nMemberId & MID_FLAG_ELEMENT_ITEM_EXPORT) ) - exportXML( rAttrList, rItem, *pEntry, - rUnitConverter, rNamespaceMap, nFlags, 0 ); - - nIndex++; - } -} - void SvXMLExportItemMapper::exportXML( SvXMLExport& rExport, const SfxItemSet& rSet, const SvXMLUnitConverter& rUnitConverter, |