diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-19 12:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-19 15:04:33 +0200 |
commit | 6a0a0a4d78bb8850bf4a304b83784d3822895efe (patch) | |
tree | 2800dce4daa42965a010336456117733830e2694 /linguistic | |
parent | 832b23d9376019619929764606276aacde1e329a (diff) |
use more string_view in comphelper::string
Change-Id: I5d27824694e38de540e5f1fcd8704f8777f65140
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114261
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/dicimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index f2f0a3513b96..97a41ced3024 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -99,7 +99,7 @@ static bool getTag(const OString &rLine, const char *pTagName, if (nPos == -1) return false; - rTagValue = comphelper::string::strip(rLine.copy(nPos + rtl_str_getLength(pTagName)), + rTagValue = comphelper::string::strip(rLine.subView(nPos + strlen(pTagName)), ' '); return true; } |