summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-17 11:41:20 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:14:13 +0200
commit45706930efc24c25d2410201b705928636daad7e (patch)
treef88d9dd057dce29df7d7e4c3e3aa4583aa6fef6d /sc
parentb9272524d4c468be0834a764f6cfe8647381a1e5 (diff)
convert sc/source/filter/xml/XMLCodeNameProvider.hxx from String to OUString
Change-Id: I5969f12cf362df6976e9e5acca36b97ed8229a67
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.cxx4
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.hxx3
2 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.cxx b/sc/source/filter/xml/XMLCodeNameProvider.cxx
index 41036333bf03..162297d43432 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.cxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
-sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, String& rCodeName )
+sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, OUString& rCodeName )
{
uno::Sequence<beans::PropertyValue> aProps;
if( !(aAny >>= aProps) )
@@ -165,7 +165,7 @@ void XMLCodeNameProvider::set( const uno::Reference< container::XNameAccess>& xN
{
uno::Any aAny;
OUString sDocName("*doc*");
- String sCodeName;
+ OUString sCodeName;
if( xNameAccess->hasByName( sDocName ) )
{
aAny = xNameAccess->getByName( sDocName );
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.hxx b/sc/source/filter/xml/XMLCodeNameProvider.hxx
index 9f8eb2d508af..ee00ab282958 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.hxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.hxx
@@ -24,7 +24,6 @@
#include <cppuhelper/implbase1.hxx>
class ScDocument;
-class String;
class XMLCodeNameProvider : public ::cppu::WeakImplHelper1< ::com::sun::star::container::XNameAccess >
{
@@ -33,7 +32,7 @@ class XMLCodeNameProvider : public ::cppu::WeakImplHelper1< ::com::sun::star::co
OUString msCodeNameProp;
static sal_Bool _getCodeName( const ::com::sun::star::uno::Any& aAny,
- String& rCodeName );
+ OUString& rCodeName );
public:
XMLCodeNameProvider( ScDocument* pDoc );