diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 13:21:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-02 14:22:21 +0100 |
commit | f8922b67a4dc1ff0b889f33d2407584aed5d2e36 (patch) | |
tree | c3dbbc81468176b79e03b8222bb174fc24a30e16 /cui | |
parent | c7531408b3ef4b2d284edf35ed983c23e7585231 (diff) |
Remove unnecessary comphelper::string::getToken
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index d1856f453deb..c4d3b3c9089e 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -219,7 +219,7 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni // the field listbox for (sal_Int32 i=0; i < comphelper::string::getTokenCount(strVisibleFields, ';'); ++i) - m_plbField->InsertEntry(comphelper::string::getToken(strVisibleFields, i, ';')); + m_plbField->InsertEntry(strVisibleFields.getToken(i, ';')); m_pConfig = new FmSearchConfigItem; @@ -510,13 +510,13 @@ void FmSearchDialog::InitContext(sal_Int16 nContext) DBG_ASSERT(comphelper::string::getTokenCount(fmscContext.sFieldDisplayNames, ';') == comphelper::string::getTokenCount(fmscContext.strUsedFields, ';'), "FmSearchDialog::InitContext : invalid context description supplied !"); for (sal_Int32 i=0; i < comphelper::string::getTokenCount(fmscContext.sFieldDisplayNames, ';'); ++i) - m_plbField->InsertEntry(comphelper::string::getToken(fmscContext.sFieldDisplayNames, i, ';')); + m_plbField->InsertEntry(fmscContext.sFieldDisplayNames.getToken(i, ';')); } else { // else use the field names for (sal_Int32 i=0; i < comphelper::string::getTokenCount(fmscContext.strUsedFields, ';'); ++i) - m_plbField->InsertEntry(comphelper::string::getToken(fmscContext.strUsedFields, i, ';')); + m_plbField->InsertEntry(fmscContext.strUsedFields.getToken(i, ';')); } if (nContext < (sal_Int32)m_arrContextFields.size() && !m_arrContextFields[nContext].isEmpty()) |