summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-22 12:59:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-03-08 07:06:13 +0100
commit7840effb1d5efd1fd7f6798c7c504b05292a7793 (patch)
tree845e03d4c2cfad1d5bbcaaf9dc3ec1aeece7c864 /sfx2/source/bastyp
parentbf35f2b36fc00f9b37397422b2ee425c6a697540 (diff)
use more string_view
found by tweaking the stringview loplugin Change-Id: I92203ba99642bef7951ffa146184c5562cb31d09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163744 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r--sfx2/source/bastyp/frmhtmlw.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx
index cbfd142856ea..58c3d9e1e844 100644
--- a/sfx2/source/bastyp/frmhtmlw.cxx
+++ b/sfx2/source/bastyp/frmhtmlw.cxx
@@ -50,8 +50,8 @@ char const sHTML_SC_no[] = "NO";
void SfxFrameHTMLWriter::OutMeta( SvStream& rStrm,
const char *pIndent,
- const OUString& rName,
- const OUString& rContent,
+ std::u16string_view rName,
+ std::u16string_view rContent,
bool bHTTPEquiv,
OUString *pNonConvertableChars )
{
@@ -79,7 +79,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const OUString& rBaseURL,
const char *pIndent,
OUString *pNonConvertableChars )
{
- OutMeta( rStrm, pIndent, OOO_STRING_SVTOOLS_HTML_META_content_type, "text/html; charset=utf-8", true,
+ OutMeta( rStrm, pIndent, OOO_STRING_SVTOOLS_HTML_META_content_type, u"text/html; charset=utf-8", true,
pNonConvertableChars );
// Title (regardless if empty)