diff options
author | August Sodora <augsod@gmail.com> | 2012-01-13 00:20:39 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-13 00:32:30 -0500 |
commit | a8c8eae8d507bd254a476f5c4cd107793a725866 (patch) | |
tree | a738b2c32a66b04e498805b8911b1e29ddbce828 /sw/inc | |
parent | 2b2fbf7350cbc53b878a7faf9ab353146fb598bf (diff) |
SvStringsDtor->std::vector
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 22 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 6 |
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; |