diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-21 11:23:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-21 18:29:54 +0200 |
commit | f41868a5dcdb1982c1e3064dd985d894eaba0074 (patch) | |
tree | 322694725a9f435d3d5dd9877d74f3ad973cb9cb /editeng/inc | |
parent | 318a7961fc3542724cb85e31edfbf3b898e2a4f3 (diff) |
use more string_view in editeng
Change-Id: I7e434076750ebdf4aeee621151fbe6dfc929c60f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editdoc.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx index 25a3dca4b1fc..2a7aa0128423 100644 --- a/editeng/inc/editdoc.hxx +++ b/editeng/inc/editdoc.hxx @@ -773,7 +773,7 @@ public: EditPaM Clear(); EditPaM RemoveText(); void RemoveChars( EditPaM aPaM, sal_Int32 nChars ); - EditPaM InsertText( EditPaM aPaM, const OUString& rStr ); + EditPaM InsertText( EditPaM aPaM, std::u16string_view rStr ); EditPaM InsertParaBreak( EditPaM aPaM, bool bKeepEndingAttribs ); EditPaM InsertFeature( EditPaM aPaM, const SfxPoolItem& rItem ); EditPaM ConnectParagraphs( ContentNode* pLeft, ContentNode* pRight ); |