diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-21 19:12:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-22 11:47:36 +0100 |
commit | 8ef4dc07cd4413253b5747dd714fadd548d6bcf6 (patch) | |
tree | ad51fde4a825d0a918a87719ef3a5e55d6ba50cb /include/framework | |
parent | e136900e7a971385be9367a3dcaedea54d1e7207 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/framework')
-rw-r--r-- | include/framework/titlehelper.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 |