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/source/ui/dbui/mmconfigitem.cxx | |
parent | 2b2fbf7350cbc53b878a7faf9ab353146fb598bf (diff) |
SvStringsDtor->std::vector
Diffstat (limited to 'sw/source/ui/dbui/mmconfigitem.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmconfigitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mmconfigitem.cxx b/sw/source/ui/dbui/mmconfigitem.cxx index 4e2630ab3667..e21456916adc 100644 --- a/sw/source/ui/dbui/mmconfigitem.cxx +++ b/sw/source/ui/dbui/mmconfigitem.cxx @@ -1704,10 +1704,10 @@ void SwMailMergeConfigItem::SetSourceView(SwView* pView) if(pView) { - SvStringsDtor aDBNameList(5, 1); - SvStringsDtor aAllDBNames(5, 5); + std::vector<String> aDBNameList; + std::vector<String> aAllDBNames; pView->GetWrtShell().GetAllUsedDB( aDBNameList, &aAllDBNames ); - if(aDBNameList.Count()) + if(!aDBNameList.empty()) { // if fields are available there is usually no need of an addressblock and greeting if(!m_pImpl->bUserSettingWereOverwritten) |