summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-12 12:43:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-13 08:38:53 +0200
commitfdfd517a6f75e394ddcb1e195decbfed33ba56b9 (patch)
treee3bff14e5531affcd908415b4e85d7ceac4aa1fd /include/sfx2
parente568c9dca8b93b96a8a130a8fb6f1bba1a33d6ea (diff)
loplugin:stringviewparam whitelist some more functions
for which we have o3tl:: equivalents Change-Id: I4670fd8b703ac47214be213f41e88d1c6ede7032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132913 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/docfac.hxx2
-rw-r--r--include/sfx2/docfilt.hxx2
-rw-r--r--include/sfx2/dockwin.hxx4
-rw-r--r--include/sfx2/fcontnr.hxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/docfac.hxx b/include/sfx2/docfac.hxx
index f3ec43c109bb..884112530c90 100644
--- a/include/sfx2/docfac.hxx
+++ b/include/sfx2/docfac.hxx
@@ -63,7 +63,7 @@ public:
// Filter
std::shared_ptr<const SfxFilter> GetTemplateFilter() const;
- static OUString GetStandardTemplate( const OUString& rServiceName );
+ static OUString GetStandardTemplate( std::u16string_view rServiceName );
static void SetStandardTemplate( const OUString& rServiceName, const OUString& rTemplateName );
static void SetSystemTemplate( const OUString& rServiceName, const OUString& rTemplateName );
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index a3b350deebe5..fb5bb55051fd 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -107,7 +107,7 @@ public:
const OUString& GetServiceName() const { return aServiceName; }
const OUString& GetProviderName() const { return maProvider;}
- static std::shared_ptr<const SfxFilter> GetDefaultFilter( const OUString& rName );
+ static std::shared_ptr<const SfxFilter> GetDefaultFilter( std::u16string_view rName );
static std::shared_ptr<const SfxFilter> GetFilterByName( const OUString& rName );
static std::shared_ptr<const SfxFilter> GetDefaultFilterFromFactory( const OUString& rServiceName );
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 21fe9d6e1e84..886f4ae11f86 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -34,8 +34,8 @@ namespace com::sun::star::frame { class XFrame; }
class SfxDockingWindow_Impl;
enum class SplitWindowItemFlags;
-void SfxDockingWindowFactory( const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rDockingWindowName );
-bool IsDockingWindowVisible( const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rDockingWindowName );
+void SfxDockingWindowFactory( const css::uno::Reference< css::frame::XFrame >& rFrame, std::u16string_view rDockingWindowName );
+bool IsDockingWindowVisible( const css::uno::Reference< css::frame::XFrame >& rFrame, std::u16string_view rDockingWindowName );
class SFX2_DLLPUBLIC SfxDockingWindow : public ResizableDockingWindow
{
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx
index 68403c5755d8..026f0e1c1bf3 100644
--- a/include/sfx2/fcontnr.hxx
+++ b/include/sfx2/fcontnr.hxx
@@ -61,7 +61,7 @@ public:
const css::uno::Reference< css::container::XNameAccess >& xTypeCFG,
const css::uno::Reference< css::container::XNameAccess >& xFilterCFG,
bool bUpdate );
- SAL_DLLPRIVATE static std::shared_ptr<const SfxFilter> GetDefaultFilter_Impl( const OUString& );
+ SAL_DLLPRIVATE static std::shared_ptr<const SfxFilter> GetDefaultFilter_Impl( std::u16string_view );
};
class SfxFilterMatcher_Impl;