Kaydet (Commit) b9272524 authored tarafından Noel Grandin's avatar Noel Grandin

convert sc/source/ui/inc/dbdocfun.hxx from String to OUString

Change-Id: I67ef2f01779954040267933eb864aa6e500f5cb5
üst 174140b2
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment