diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 11:11:20 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 11:11:20 +0000 |
commit | f398c258ff04a2a23d2538b281cc228d6507db32 (patch) | |
tree | d86efa0f25e4e2f8409e448d7870af9429a17b56 /sfx2 | |
parent | 5e769000adbbf4a646f666733a5ce9eb2e87220c (diff) |
INTEGRATION: CWS xmlfix2 (1.3.428); FILE MERGED
2008/05/15 17:28:01 mst 1.3.428.2: RESYNC: (1.3-1.4); FILE MERGED
2008/03/31 15:14:12 mst 1.3.428.1: remove duplicated XAttributeList implementations
- sfx2/source/doc/attributelist.{hxx,cxx}:
+ removed
- sfx2/source/doc/makefile.mk:
+ remove attributelist.cxx
- sfx2/source/doc/doctemplateslocal.cxx:
+ use comphelper/attributelist.hxx
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/doctemplateslocal.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/source/doc/doctemplateslocal.cxx b/sfx2/source/doc/doctemplateslocal.cxx index 5f6e4fac3381..2ac7e8d17ecd 100644 --- a/sfx2/source/doc/doctemplateslocal.cxx +++ b/sfx2/source/doc/doctemplateslocal.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: doctemplateslocal.cxx,v $ - * $Revision: 1.4 $ + * $Revision: 1.5 $ * * This file is part of OpenOffice.org. * @@ -50,8 +50,9 @@ #include <com/sun/star/lang/IllegalArgumentException.hpp> #endif +#include <comphelper/attributelist.hxx> + #include "doctemplateslocal.hxx" -#include "attributelist.hxx" using namespace ::com::sun::star; @@ -86,7 +87,7 @@ void SAL_CALL DocTemplLocaleHelper::WriteGroupLocalizationSequence( const uno::R ::rtl::OUString aWhiteSpace( RTL_CONSTASCII_USTRINGPARAM ( " " ) ); // write the namespace - AttributeList* pRootAttrList = new AttributeList; + ::comphelper::AttributeList* pRootAttrList = new ::comphelper::AttributeList; uno::Reference< xml::sax::XAttributeList > xRootAttrList( pRootAttrList ); pRootAttrList->AddAttribute( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "xmlns" ) ), @@ -98,7 +99,7 @@ void SAL_CALL DocTemplLocaleHelper::WriteGroupLocalizationSequence( const uno::R for ( sal_Int32 nInd = 0; nInd < aSequence.getLength(); nInd++ ) { - AttributeList *pAttrList = new AttributeList; + ::comphelper::AttributeList *pAttrList = new ::comphelper::AttributeList; uno::Reference< xml::sax::XAttributeList > xAttrList( pAttrList ); pAttrList->AddAttribute( aNameAttr, aCDATAString, aSequence[nInd].First ); pAttrList->AddAttribute( aUINameAttr, aCDATAString, aSequence[nInd].Second ); |