summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 11:11:20 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 11:11:20 +0000
commit795707510cf989aa63269a5b8beeec102b0d6d7a (patch)
treeb95bdb00e73146b86d75687824615a5ee6067068 /sfx2
parent347c53149611051136d2ae2e3d521dfacf701d88 (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.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/source/doc/doctemplateslocal.cxx b/sfx2/source/doc/doctemplateslocal.cxx
index cd555fb34f..7aed8f4f72 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 );