diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-01-28 20:29:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-29 09:25:12 +0100 |
commit | 1250aecd71fabde4dba990bfceb61bbe8e06b8ea (patch) | |
tree | 3c42ffdf68b7e81aba29228631a8cd34e2f11830 /include/oox | |
parent | 4f3987e0b1a995431478769c898b5ef151745254 (diff) |
loplugin:stringviewparam extend to new..
O[U]StringBuffer methods
Change-Id: I0ffbc33d54ae7c98b5652434f3370ee4f819f6f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110090
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/core/contexthandler2.hxx | 2 | ||||
-rw-r--r-- | include/oox/dump/dumperbase.hxx | 2 | ||||
-rw-r--r-- | include/oox/ole/vbamodule.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/oox/core/contexthandler2.hxx b/include/oox/core/contexthandler2.hxx index 872a50697ca1..13b732dec7e5 100644 --- a/include/oox/core/contexthandler2.hxx +++ b/include/oox/core/contexthandler2.hxx @@ -187,7 +187,7 @@ protected: const css::uno::Reference< css::xml::sax::XFastAttributeList >& rxAttribs ); /** Must be called from characters() in derived classes. */ - void implCharacters( const OUString& rChars ); + void implCharacters( std::u16string_view rChars ); /** Must be called from endFastElement() in derived classes. */ void implEndElement( sal_Int32 nElement ); diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx index 7b7f4fd9ad8c..81c3a2fcb21e 100644 --- a/include/oox/dump/dumperbase.hxx +++ b/include/oox/dump/dumperbase.hxx @@ -316,7 +316,7 @@ public: // token list ------------------------------------------------------------- - static void appendToken( OUStringBuffer& rStr, const OUString& rToken, sal_Unicode cSep = OOX_DUMP_LISTSEP ); + static void appendToken( OUStringBuffer& rStr, std::u16string_view rToken, sal_Unicode cSep = OOX_DUMP_LISTSEP ); static void appendIndex( OUStringBuffer& rStr, sal_Int64 nIdx ); diff --git a/include/oox/ole/vbamodule.hxx b/include/oox/ole/vbamodule.hxx index 85f1f3e37103..b6a615ef6ba6 100644 --- a/include/oox/ole/vbamodule.hxx +++ b/include/oox/ole/vbamodule.hxx @@ -79,7 +79,7 @@ private: /** Creates a new Basic module and inserts it into the passed Basic library. */ void createModule( - const OUString& rVBASourceCode, + std::u16string_view rVBASourceCode, const css::uno::Reference< css::container::XNameContainer >& rxBasicLib, const css::uno::Reference< css::container::XNameAccess >& rxDocObjectNA ) const; |