diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 17:29:55 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 17:29:55 +0000 |
commit | ada98869cc112c4778df7485138dba72e4d83138 (patch) | |
tree | 6a6113acd79297683aa60631868054552fbc7938 /xmloff/source/transform | |
parent | 3576ed8e07a5414129c34cffb906e429d68a1f1f (diff) |
INTEGRATION: CWS schoasis01 (1.2.76); FILE MERGED
2004/10/14 15:33:01 bm 1.2.76.1: warning removed
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r-- | xmloff/source/transform/ChartPlotAreaOOoTContext.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index 76f3b1d64ac0..22ed5e5536aa 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ChartPlotAreaOOoTContext.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2004-07-13 08:45:11 $ + * last change: $Author: hr $ $Date: 2004-11-09 18:29:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,18 +127,18 @@ XMLTransformerContext * XMLChartPlotAreaOOoTContext::CreateChildContext( if( pPersContext != 0 ) { // iterate over attributes to find category axis - Reference< xml::sax::XAttributeList > xAttrList( pPersContext->GetAttrList()); - sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; + Reference< xml::sax::XAttributeList > xNewAttrList( pPersContext->GetAttrList()); + sal_Int16 nAttrCount = xNewAttrList.is() ? xNewAttrList->getLength() : 0; for( sal_Int16 i=0; i < nAttrCount; i++ ) { - const OUString & rAttrName = xAttrList->getNameByIndex( i ); + const OUString & rAttrName = xNewAttrList->getNameByIndex( i ); OUString aLocalName; - sal_uInt16 nPrefix = + sal_uInt16 nNewPrefix = GetTransformer().GetNamespaceMap().GetKeyByAttrName( rAttrName, &aLocalName ); - if( nPrefix == XML_NAMESPACE_CHART && + if( nNewPrefix == XML_NAMESPACE_CHART && ::xmloff::token::IsXMLToken( aLocalName, ::xmloff::token::XML_CLASS ) && - ::xmloff::token::IsXMLToken( xAttrList->getValueByIndex( i ), ::xmloff::token::XML_CATEGORY )) + ::xmloff::token::IsXMLToken( xNewAttrList->getValueByIndex( i ), ::xmloff::token::XML_CATEGORY )) { // category axis found pPersContext->AddContent( pContext ); |