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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/source/treelist/imap2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/treelist/imap2.cxx b/vcl/source/treelist/imap2.cxx index c5e46004fb72..4c55f67cde31 100644 --- a/vcl/source/treelist/imap2.cxx +++ b/vcl/source/treelist/imap2.cxx @@ -241,7 +241,7 @@ void ImageMap::ImpReadCERN( SvStream& rIStm ) ImpReadCERNLine( aStr ); } -void ImageMap::ImpReadCERNLine( const OString& rLine ) +void ImageMap::ImpReadCERNLine( std::string_view rLine ) { OString aStr = comphelper::string::stripStart(rLine, ' '); aStr = comphelper::string::stripStart(aStr, '\t'); @@ -376,7 +376,7 @@ void ImageMap::ImpReadNCSA( SvStream& rIStm ) ImpReadNCSALine( aStr ); } -void ImageMap::ImpReadNCSALine( const OString& rLine ) +void ImageMap::ImpReadNCSALine( std::string_view rLine ) { OString aStr = comphelper::string::stripStart(rLine, ' '); aStr = comphelper::string::stripStart(aStr, '\t'); |