summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-04 14:26:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-05 08:39:23 +0200
commitd15a6560bd445cd1931e9fded6ad8ecfdd54211b (patch)
treedc23fce7925c88620abe8cc032b27f25b0a888e0 /sfx2
parentc895edf3f67f19d8d2012674c084456a7851436e (diff)
use more string_view
found by examining the call sites of OString::getToken which means I needed to add a new o3tl::equalsAscii function Change-Id: I7dc0ea1cf5ce8090a708d44f2cf7c938fa200c5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133826 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/mieclip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index 3036b4eb488e..580c6444d326 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -48,7 +48,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
while( rStream.ReadLine( sLine ) )
{
nIndex = 0;
- OString sTmp(sLine.getToken(0, ':', nIndex));
+ std::string_view sTmp(o3tl::getToken(sLine, 0, ':', nIndex));
if (sTmp == "StartHTML")
nStt = o3tl::toInt32(sLine.subView(nIndex));
else if (sTmp == "EndHTML")