summaryrefslogtreecommitdiff
path: root/unusedcode.README
AgeCommit message (Expand)Author
2013-03-03update descriptionThomas Arnhold
2013-02-22s/the the/the/Tor Lillqvist
2012-11-19unusedcode exclude file: symbols known to be requiredEnrico Weigelt, metux ITS
2012-06-25remove unnecessary ForEachCaolán McNamara
2012-06-19document what methods are from the pre-stl containersCaolán McNamara
2012-05-02Fix typoJulien Nabet
2012-04-05SvtFileDialogURLSelector::OpenURL can go apparentlyCaolán McNamara
2012-04-05callcatcher: update list, add README, remove some newly unused codeCaolán McNamara
'commit-subject'>use more o3tl::getToken
found by inspecting call sites of OUString::getToken Change-Id: I4269c7476c7aa46fac39528227e350568f0eb34a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132644 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 4c2e769ac889..3d1becdd5871 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3833,11 +3833,11 @@ void SwEntryBrowseBox::ReadEntries(SvStream& rInStr)
pToInsert->sPrimKey = sLine.getToken(0, ';', nSttPos );
pToInsert->sSecKey = sLine.getToken(0, ';', nSttPos );
- OUString sStr = sLine.getToken(0, ';', nSttPos );
- pToInsert->bCase = !sStr.isEmpty() && sStr != "0";
+ std::u16string_view sStr = o3tl::getToken(sLine, 0, ';', nSttPos );
+ pToInsert->bCase = !sStr.empty() && sStr != u"0";
- sStr = sLine.getToken(0, ';', nSttPos );
- pToInsert->bWord = !sStr.isEmpty() && sStr != "0";
+ sStr = o3tl::getToken(sLine, 0, ';', nSttPos );
+ pToInsert->bWord = !sStr.empty() && sStr != u"0";
m_Entries.push_back(std::unique_ptr<AutoMarkEntry>(pToInsert));
pToInsert = nullptr;