summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-26 14:03:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 20:31:14 +0200
commit48e279c6748bf023fba12fdc3f4cee402f611c6e (patch)
tree2e1b3a20ccd71f47a66938f882c1fe9d5e947bb4 /sw/inc
parentf3665d2a42b39814764f3eb9e20498b8a4be1d00 (diff)
use string_view in INetURLObject::decode
Change-Id: I10e04970ceac33c9c3fbfd0182dd2140e06cb80b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114658 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/mdiexp.hxx2
-rw-r--r--sw/inc/view.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/mdiexp.hxx b/sw/inc/mdiexp.hxx
index 3901fce1c12f..dea2b4361825 100644
--- a/sw/inc/mdiexp.hxx
+++ b/sw/inc/mdiexp.hxx
@@ -49,7 +49,7 @@ void RepaintPagePreview( SwViewShell const * pVwSh, const SwRect& rRect );
// Read ChgMode for tables from configuration.
TableChgMode GetTableChgDefaultMode();
-bool JumpToSwMark( SwViewShell const * pVwSh, const OUString& rMark );
+bool JumpToSwMark( SwViewShell const * pVwSh, std::u16string_view rMark );
#endif
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 4232d315478a..73dfc1c7a54f 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -591,7 +591,7 @@ public:
void SetCursorAtTop( bool bFlag, bool bCenter = false )
{ m_bTopCursor = bFlag; m_bCenterCursor = bCenter; }
- bool JumpToSwMark( const OUString& rMark );
+ bool JumpToSwMark( std::u16string_view rMark );
tools::Long InsertDoc( sal_uInt16 nSlotId, const OUString& rFileName,
const OUString& rFilterName, sal_Int16 nVersion = 0 );