summaryrefslogtreecommitdiff
path: root/sw/inc/unotextcursor.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-10-10 12:09:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-11 08:44:09 +0200
commit71337b4327805b73e92c995153c5746d89793b13 (patch)
treefd66764b57912cb2a8b86618e97f1e90d607d2cd /sw/inc/unotextcursor.hxx
parentbab44a97d21d0ac8a8a06678e71024c1a830943f (diff)
use more string_view in sw
Change-Id: Ibefb8549834ba5011286e3221f1ae276e2c0c0bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141153 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unotextcursor.hxx')
-rw-r--r--sw/inc/unotextcursor.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx
index 4979fba063c0..922e7581329c 100644
--- a/sw/inc/unotextcursor.hxx
+++ b/sw/inc/unotextcursor.hxx
@@ -102,7 +102,7 @@ public:
bool IsAtEndOfMeta() const;
bool IsAtEndOfContentControl() const;
- void DeleteAndInsert(OUString const& rText, ::sw::DeleteAndInsertMode eMode);
+ void DeleteAndInsert(std::u16string_view aText, ::sw::DeleteAndInsertMode eMode);
// OTextCursorHelper
virtual const SwPaM* GetPaM() const override;
virtual SwPaM* GetPaM() override;