summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-17 11:13:42 +0200
committerNoel Grandin <noel@peralex.com>2013-09-19 10:14:12 +0200
commitb9272524d4c468be0834a764f6cfe8647381a1e5 (patch)
treee8d461c38a4a15835ac25a972c197974fd8ef74d /sc
parent174140b2bc8c2227032334b628c4ad4c74ce5f5a (diff)
convert sc/source/ui/inc/dbdocfun.hxx from String to OUString
Change-Id: I67ef2f01779954040267933eb864aa6e500f5cb5
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx4
-rw-r--r--sc/source/ui/inc/dbdocfun.hxx6
2 files changed, 4 insertions, 6 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index dc31cd9095d2..714107892b28 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -146,7 +146,7 @@ bool ScDBDocFunc::DeleteDBRange(const OUString& rName)
return bDone;
}
-bool ScDBDocFunc::RenameDBRange( const String& rOld, const String& rNew )
+bool ScDBDocFunc::RenameDBRange( const OUString& rOld, const OUString& rNew )
{
bool bDone = false;
ScDocument* pDoc = rDocShell.GetDocument();
@@ -1672,7 +1672,7 @@ void ScDBDocFunc::RefreshPivotTableGroups(ScDPObject* pDPObj)
//
// database import
-void ScDBDocFunc::UpdateImport( const String& rTarget, const svx::ODataAccessDescriptor& rDescriptor )
+void ScDBDocFunc::UpdateImport( const OUString& rTarget, const svx::ODataAccessDescriptor& rDescriptor )
{
// rTarget is the name of a database range
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx
index 10a38dfb0e15..1941fca8ae5d 100644
--- a/sc/source/ui/inc/dbdocfun.hxx
+++ b/sc/source/ui/inc/dbdocfun.hxx
@@ -24,8 +24,6 @@
#include <tools/solar.h>
#include <com/sun/star/uno/Sequence.hxx>
-class String;
-
struct ScImportParam;
struct ScQueryParam;
struct ScSortParam;
@@ -59,7 +57,7 @@ public:
ScDBDocFunc( ScDocShell& rDocSh ): rDocShell(rDocSh) {}
~ScDBDocFunc() {}
- void UpdateImport( const String& rTarget, const svx::ODataAccessDescriptor& rDescriptor );
+ void UpdateImport( const OUString& rTarget, const svx::ODataAccessDescriptor& rDescriptor );
bool DoImport( SCTAB nTab, const ScImportParam& rParam,
const svx::ODataAccessDescriptor* pDescriptor, // used for selection an existing ResultSet
@@ -84,7 +82,7 @@ public:
bool AddDBRange( const OUString& rName, const ScRange& rRange, sal_Bool bApi );
bool DeleteDBRange( const OUString& rName );
- bool RenameDBRange( const String& rOld, const String& rNew );
+ bool RenameDBRange( const OUString& rOld, const OUString& rNew );
bool ModifyDBData( const ScDBData& rNewData ); // Name unveraendert
bool RepeatDB( const OUString& rDBName, bool bRecord, bool bApi, bool bIsUnnamed=false, SCTAB aTab = 0);