diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templatesearchview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/frmdescr.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/templatesearchview.hxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 06bb3fc5e454..b4f31d914a9c 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -665,7 +665,7 @@ OUString SfxHelp::GetHelpText(const OUString& aCommandURL, const weld::Widget* p return sHelpText; } -OUString SfxHelp::GetURLHelpText(const OUString& aURL) +OUString SfxHelp::GetURLHelpText(std::u16string_view aURL) { SvtSecurityOptions aSecOpt; bool bCtrlClickHlink = aSecOpt.IsOptionSet(SvtSecurityOptions::EOption::CtrlClickHyperlink); diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 76f6f331d266..4063e3453aaf 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -908,7 +908,7 @@ bool TemplateLocalView::IsDefaultTemplate(const OUString& rPath) return SfxObjectFactory::GetStandardTemplate(rName).match(rPath); }); } -void TemplateLocalView::RemoveDefaultTemplateIcon(const OUString& rPath) +void TemplateLocalView::RemoveDefaultTemplateIcon(std::u16string_view rPath) { for (const std::unique_ptr<ThumbnailViewItem>& pItem : mItemList) { diff --git a/sfx2/source/control/templatesearchview.cxx b/sfx2/source/control/templatesearchview.cxx index 41c318ecf75e..d1f36de241f3 100644 --- a/sfx2/source/control/templatesearchview.cxx +++ b/sfx2/source/control/templatesearchview.cxx @@ -240,7 +240,7 @@ BitmapEx TemplateSearchView::getDefaultThumbnail( const OUString& rPath ) return aImg; } -void TemplateSearchView::RemoveDefaultTemplateIcon(const OUString& rPath) +void TemplateSearchView::RemoveDefaultTemplateIcon(std::u16string_view rPath) { for (const std::unique_ptr<ThumbnailViewItem>& pItem : mItemList) { diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx index 3df6a34e0ae2..a9acefa8ad44 100644 --- a/sfx2/source/doc/frmdescr.cxx +++ b/sfx2/source/doc/frmdescr.cxx @@ -48,7 +48,7 @@ void SfxFrameDescriptor::SetURL( const OUString& rURL ) SetActualURL(aURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri )); } -void SfxFrameDescriptor::SetActualURL( const OUString& ) +void SfxFrameDescriptor::SetActualURL( std::u16string_view ) { if ( m_pArgs ) m_pArgs->ClearItem(); diff --git a/sfx2/source/inc/templatesearchview.hxx b/sfx2/source/inc/templatesearchview.hxx index d5a1dc32ceda..24becb6146ba 100644 --- a/sfx2/source/inc/templatesearchview.hxx +++ b/sfx2/source/inc/templatesearchview.hxx @@ -43,7 +43,7 @@ public: static BitmapEx getDefaultThumbnail( const OUString& rPath ); - void RemoveDefaultTemplateIcon(const OUString& rPath); + void RemoveDefaultTemplateIcon(std::u16string_view rPath); private: virtual void OnItemDblClicked(ThumbnailViewItem *pItem) override; |