summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/gloslst.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/gloslst.hxx')
-rw-r--r--sw/source/uibase/inc/gloslst.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/gloslst.hxx b/sw/source/uibase/inc/gloslst.hxx
index 3da5d88617a5..11192ecd6234 100644
--- a/sw/source/uibase/inc/gloslst.hxx
+++ b/sw/source/uibase/inc/gloslst.hxx
@@ -50,7 +50,7 @@ class SwGlossaryList : public AutoTimer
OUString sPath;
bool bFilled;
- AutoTextGroup* FindGroup(const OUString& rGroupName);
+ AutoTextGroup* FindGroup(std::u16string_view rGroupName);
static void FillGroup(AutoTextGroup* pGroup, SwGlossaries* pGloss);
public:
@@ -59,7 +59,7 @@ public:
void HasLongName(const std::vector<OUString>& rBeginCandidates,
std::vector<std::pair<OUString, sal_uInt16>>& rLongNames);
- bool GetShortName(const OUString& rLongName,
+ bool GetShortName(std::u16string_view rLongName,
OUString& rShortName, OUString& rGroupName );
size_t GetGroupCount();