summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/autocmpledit.cxx2
-rw-r--r--fpicker/source/office/autocmpledit.hxx2
-rw-r--r--fpicker/source/office/fileview.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/autocmpledit.cxx b/fpicker/source/office/autocmpledit.cxx
index 89f6d87b014b..e0166a33691e 100644
--- a/fpicker/source/office/autocmpledit.cxx
+++ b/fpicker/source/office/autocmpledit.cxx
@@ -60,7 +60,7 @@ IMPL_LINK_NOARG(AutocompleteEdit, TryAutoComplete, Timer *, void)
}
}
-bool AutocompleteEdit::Match( const OUString& rText )
+bool AutocompleteEdit::Match( std::u16string_view rText )
{
bool bRet = false;
diff --git a/fpicker/source/office/autocmpledit.hxx b/fpicker/source/office/autocmpledit.hxx
index f29f4bb742b4..03ea58c48084 100644
--- a/fpicker/source/office/autocmpledit.hxx
+++ b/fpicker/source/office/autocmpledit.hxx
@@ -27,7 +27,7 @@ private:
DECL_LINK(ChangedHdl, weld::Entry&, void);
DECL_LINK(TryAutoComplete, Timer*, void);
- bool Match(const OUString& rText);
+ bool Match(std::u16string_view rText);
public:
AutocompleteEdit(std::unique_ptr<weld::Entry> xEntry);
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx
index 32b0df044673..ad82be6c0463 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -315,7 +315,7 @@ public:
void Resort_Impl( sal_Int16 nColumn, bool bAscending );
bool SearchNextEntry( sal_uInt32 &nIndex,
- const OUString& rTitle,
+ std::u16string_view rTitle,
bool bWrapAround );
void SetSelectHandler( const Link<SvtFileView*,void>& rHdl );
@@ -1756,7 +1756,7 @@ void SvtFileView_Impl::SetViewMode( FileViewMode eMode )
};
}
-bool SvtFileView_Impl::SearchNextEntry( sal_uInt32& nIndex, const OUString& rTitle, bool bWrapAround )
+bool SvtFileView_Impl::SearchNextEntry( sal_uInt32& nIndex, std::u16string_view rTitle, bool bWrapAround )
{
::osl::MutexGuard aGuard( maMutex );