summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx22
-rw-r--r--sw/inc/editsh.hxx6
2 files changed, 14 insertions, 14 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index e85ba272a646..47b55ec1fa37 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -652,16 +652,16 @@ private:
// Database fields:
void UpdateDBNumFlds( SwDBNameInfField& rDBFld, SwCalc& rCalc );
- void AddUsedDBToList( SvStringsDtor& rDBNameList,
- const SvStringsDtor& rUsedDBNames );
- void AddUsedDBToList( SvStringsDtor& rDBNameList, const String& rDBName );
- sal_Bool IsNameInArray( const SvStringsDtor& rOldNames, const String& rName );
- void GetAllDBNames( SvStringsDtor& rAllDBNames );
- void ReplaceUsedDBs( const SvStringsDtor& rUsedDBNames,
+ void AddUsedDBToList( std::vector<String>& rDBNameList,
+ const std::vector<String>& rUsedDBNames );
+ void AddUsedDBToList( std::vector<String>& rDBNameList, const String& rDBName );
+ sal_Bool IsNameInArray( const std::vector<String>& rOldNames, const String& rName );
+ void GetAllDBNames( std::vector<String>& rAllDBNames );
+ void ReplaceUsedDBs( const std::vector<String>& rUsedDBNames,
const String& rNewName, String& rFormel );
- SvStringsDtor& FindUsedDBs( const SvStringsDtor& rAllDBNames,
+ std::vector<String>& FindUsedDBs( const std::vector<String>& rAllDBNames,
const String& rFormel,
- SvStringsDtor& rUsedDBNames );
+ std::vector<String>& rUsedDBNames );
void InitDrawModel();
void ReleaseDrawModel();
@@ -1129,13 +1129,13 @@ public:
*/
void SetNewDBMgr( SwNewDBMgr* pNewMgr ) { pNewDBMgr = pNewMgr; }
SwNewDBMgr* GetNewDBMgr() const { return pNewDBMgr; }
- void ChangeDBFields( const SvStringsDtor& rOldNames,
+ void ChangeDBFields( const std::vector<String>& rOldNames,
const String& rNewName );
void SetInitDBFields(sal_Bool b);
// Find out which databases are used by fields.
- void GetAllUsedDB( SvStringsDtor& rDBNameList,
- const SvStringsDtor* pAllDBNames = 0 );
+ void GetAllUsedDB( std::vector<String>& rDBNameList,
+ const std::vector<String>* pAllDBNames = 0 );
void ChgDBData( const SwDBData& rNewData );
SwDBData GetDBData();
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 11e337644f08..173de3788361 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -346,10 +346,10 @@ public:
SwDBData GetDBData() const;
const SwDBData& GetDBDesc() const;
void ChgDBData(const SwDBData& SwDBData);
- void ChangeDBFields( const SvStringsDtor& rOldNames,
+ void ChangeDBFields( const std::vector<String>& rOldNames,
const String& rNewName );
- void GetAllUsedDB( SvStringsDtor& rDBNameList,
- SvStringsDtor* pAllDBNames = 0 );
+ void GetAllUsedDB( std::vector<String>& rDBNameList,
+ std::vector<String>* pAllDBNames = 0 );
sal_Bool IsAnyDatabaseFieldInDoc()const;