summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.cxx b/sc/source/filter/xml/XMLDetectiveContext.cxx
index 41f2c298bbdf..5e88e781fbb1 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.cxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.cxx
@@ -33,7 +33,6 @@
#include <algorithm>
-using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace xmloff::token;
@@ -134,8 +133,8 @@ ScXMLDetectiveHighlightedContext::ScXMLDetectiveHighlightedContext(
for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex )
{
- const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex ));
- const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex ));
+ const OUString& sAttrName (xAttrList->getNameByIndex( nIndex ));
+ const OUString& sValue (xAttrList->getValueByIndex( nIndex ));
OUString aLocalName;
sal_uInt16 nPrefix = GetScImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
@@ -213,8 +212,8 @@ ScXMLDetectiveOperationContext::ScXMLDetectiveOperationContext(
for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex )
{
- const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex ));
- const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex ));
+ const OUString& sAttrName (xAttrList->getNameByIndex( nIndex ));
+ const OUString& sValue (xAttrList->getValueByIndex( nIndex ));
OUString aLocalName;
sal_uInt16 nPrefix = GetScImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );