diff options
Diffstat (limited to 'reportdesign/source/filter/xml/xmlComponent.cxx')
-rw-r--r-- | reportdesign/source/filter/xml/xmlComponent.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/reportdesign/source/filter/xml/xmlComponent.cxx b/reportdesign/source/filter/xml/xmlComponent.cxx index dd1387db40da..cbe97b2a7102 100644 --- a/reportdesign/source/filter/xml/xmlComponent.cxx +++ b/reportdesign/source/filter/xml/xmlComponent.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,13 +57,13 @@ namespace rptxml OXMLComponent::OXMLComponent( ORptFilter& _rImport ,sal_uInt16 nPrfx ,const ::rtl::OUString& _sLocalName - ,const Reference< XAttributeList > & _xAttrList - ,const Reference< XReportComponent > & _xComponent + ,const Reference< XAttributeList > & _xAttrList + ,const Reference< XReportComponent > & _xComponent ) : SvXMLImportContext( _rImport, nPrfx, _sLocalName ) ,m_xComponent(_xComponent) { - DBG_CTOR( rpt_OXMLComponent,NULL); + DBG_CTOR( rpt_OXMLComponent,NULL); OSL_ENSURE(_xAttrList.is(),"Attribute list is NULL!"); OSL_ENSURE(m_xComponent.is(),"Component is NULL!"); @@ -72,7 +72,7 @@ OXMLComponent::OXMLComponent( ORptFilter& _rImport const sal_Int16 nLength = (_xAttrList.is()) ? _xAttrList->getLength() : 0; static const ::rtl::OUString s_sTRUE = ::xmloff::token::GetXMLToken(XML_TRUE); - + for(sal_Int16 i = 0; i < nLength; ++i) { try @@ -84,7 +84,7 @@ OXMLComponent::OXMLComponent( ORptFilter& _rImport switch( rTokenMap.Get( nPrefix, sLocalName ) ) { - case XML_TOK_NAME: + case XML_TOK_NAME: m_xComponent->setName(sValue); break; case XML_TOK_TEXT_STYLE_NAME: @@ -100,13 +100,13 @@ OXMLComponent::OXMLComponent( ORptFilter& _rImport { OSL_ENSURE(0,"Exception catched while putting props into report component!"); } - } + } } // ----------------------------------------------------------------------------- OXMLComponent::~OXMLComponent() { - DBG_DTOR( rpt_OXMLComponent,NULL); + DBG_DTOR( rpt_OXMLComponent,NULL); } // ----------------------------------------------------------------------------- //---------------------------------------------------------------------------- |