From 8ef4dc07cd4413253b5747dd714fadd548d6bcf6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 21 Mar 2024 19:12:56 +0200 Subject: improve loplugin:staticmethods Some of the exclusions were too aggressive. Restrict them to only the important classes, which exposes some more places this plugin applies. Change-Id: I1b2d1fb24391adc71ed0984f94168f61a149479f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165154 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/framework/titlehelper.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/framework') diff --git a/include/framework/titlehelper.hxx b/include/framework/titlehelper.hxx index b0afc7c77b75..064bfe8cc7b7 100644 --- a/include/framework/titlehelper.hxx +++ b/include/framework/titlehelper.hxx @@ -132,16 +132,16 @@ class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) TitleHelper final : private ::cppu::B void impl_startListeningForFrame (const css::uno::Reference< css::frame::XFrame >& xFrame); void impl_updateListeningForFrame (const css::uno::Reference< css::frame::XFrame >& xFrame); - void impl_appendComponentTitle ( OUStringBuffer& sTitle , + static void impl_appendComponentTitle ( OUStringBuffer& sTitle , const css::uno::Reference< css::uno::XInterface >& xComponent); - void impl_appendProductName (OUStringBuffer& sTitle); + static void impl_appendProductName (OUStringBuffer& sTitle); void impl_appendModuleName (OUStringBuffer& sTitle); - void impl_appendDebugVersion (OUStringBuffer& sTitle); - void impl_appendSafeMode (OUStringBuffer& sTitle); + static void impl_appendDebugVersion (OUStringBuffer& sTitle); + static void impl_appendSafeMode (OUStringBuffer& sTitle); void impl_setSubTitle (const css::uno::Reference< css::frame::XTitle >& xSubTitle); - OUString impl_convertURL2Title(std::u16string_view sURL); + static OUString impl_convertURL2Title(std::u16string_view sURL); // member -- cgit