diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-17 16:40:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-17 16:40:37 +0100 |
commit | 4d9e28be5c3cfd4cfb32ba0d15400285d661d423 (patch) | |
tree | 45072f8f547f39f878a6a373878034bf8d7a44ec /sw | |
parent | e700d4f987ca5b3403f8a7f05089371ffb8e4243 (diff) |
There appears to be no need to create a copy here
Change-Id: Ibc0694150aff56c8fadf08d61e350933b245db46
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dbui/createaddresslistdialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 7c87d4875fd6..7b831f8eda07 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -714,7 +714,7 @@ void SwCreateAddressListDialog::Find(const OUString& rSearch, sal_Int32 nColumn) { for(nPos = nStart; nPos < nEnd; ++nPos) { - std::vector< OUString> aData = m_pCSVData->aDBData[nPos]; + std::vector< OUString> const & aData = m_pCSVData->aDBData[nPos]; if(nColumn >=0) bFound = -1 != aData[(sal_uInt32)nColumn].toAsciiLowerCase().indexOf(sSearch); else |