diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 12:20:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-04 15:29:54 +0100 |
commit | c34e8bd71384326184baac7dea31f7ddf9bae6bc (patch) | |
tree | 0914b24023030781b3a74a768be9df4d2873b4b9 /lotuswordpro | |
parent | a1cdde17aa27902ee162d5b40860f05c592c4de8 (diff) |
loplugin:stringviewparam: operator +=
Change-Id: I30ce1b5bd8fb168da7067c1967c5af2569df2653
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108512
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwppara.hxx | 3 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwppara1.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx index 4815d1661a9b..bfb1dcb82b9a 100644 --- a/lotuswordpro/source/filter/lwppara.hxx +++ b/lotuswordpro/source/filter/lwppara.hxx @@ -67,6 +67,7 @@ #include <lwpobj.hxx> #include <lwpobjstrm.hxx> +#include <string_view> #include <vector> #include "lwpdlvlist.hxx" #include <lwpbasetype.hxx> @@ -184,7 +185,7 @@ public: bool IsInCell(); - void SetAllText(const OUString& sText); + void SetAllText(std::u16string_view sText); protected: sal_uInt32 m_nOrdinal; // Ordinal number of this paragraph diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx index 4a32be862b5b..621a0bdac6b3 100644 --- a/lotuswordpro/source/filter/lwppara1.cxx +++ b/lotuswordpro/source/filter/lwppara1.cxx @@ -99,7 +99,7 @@ OUString const & LwpPara::GetContentText(bool bAllText) /** * @short set text of paragraph */ -void LwpPara::SetAllText(const OUString& sText) +void LwpPara::SetAllText(std::u16string_view sText) { m_AllText+=sText; } |