diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 11:48:31 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 11:48:31 +0000 |
commit | ab3c553ddd693315613138aeedcddba2baa387c6 (patch) | |
tree | 2da09f28d425258522e1878d1850023c777b5b31 /sc/source/filter/xml/XMLDetectiveContext.cxx | |
parent | fdebf506ba54440c6ea39c3ee507320fffdfa77b (diff) |
INTEGRATION: CWS calcuno01 (1.10.312); FILE MERGED
2004/01/05 11:55:18 sab 1.10.312.1: #i22706#; improve API using
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLDetectiveContext.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx index 97503a1d0230..28e63c317bda 100644 --- a/sc/source/filter/xml/XMLDetectiveContext.cxx +++ b/sc/source/filter/xml/XMLDetectiveContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLDetectiveContext.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: sab $ $Date: 2002-05-03 13:30:48 $ + * last change: $Author: vg $ $Date: 2005-03-23 12:48:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -192,10 +192,10 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext( sal_Int16 nAttrCount = xAttrList->getLength(); const SvXMLTokenMap& rAttrTokenMap = GetScImport().GetDetectiveHighlightedAttrTokenMap(); - for( sal_Int16 nIndex = 0; nIndex < nAttrCount; nIndex++ ) + for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex ) { - OUString sAttrName = xAttrList->getNameByIndex( nIndex ); - OUString sValue = xAttrList->getValueByIndex( nIndex ); + const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex )); + const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex )); OUString aLocalName; USHORT nPrefix = GetScImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName ); @@ -272,10 +272,10 @@ ScXMLDetectiveOperationContext::ScXMLDetectiveOperationContext( sal_Int16 nAttrCount = xAttrList->getLength(); const SvXMLTokenMap& rAttrTokenMap = GetScImport().GetDetectiveOperationAttrTokenMap(); - for( sal_Int16 nIndex = 0; nIndex < nAttrCount; nIndex++ ) + for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex ) { - OUString sAttrName = xAttrList->getNameByIndex( nIndex ); - OUString sValue = xAttrList->getValueByIndex( nIndex ); + const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex )); + const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex )); OUString aLocalName; USHORT nPrefix = GetScImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName ); |