diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:28:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 17:33:55 +0100 |
commit | d197d524c5292cf6d66be802ec7d1fed78e30416 (patch) | |
tree | ed1c3f2476cc557a776b9f6aabc56be3bb5b8534 /include | |
parent | 80751cd90d007a19143e13bf69c7e317b7d4afc9 (diff) |
loplugin:staticmethods in sfx2
Change-Id: Ide10d0186431e745c3bb17d321cf46724e801c8f
Reviewed-on: https://gerrit.libreoffice.org/63404
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/basedlgs.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/progress.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sidebar/DeckTitleBar.hxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 28bf55a93f2a..06c928265277 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -55,7 +55,7 @@ private: SAL_DLLPRIVATE void SetDialogData_Impl(); SAL_DLLPRIVATE void GetDialogData_Impl(); - DECL_DLLPRIVATE_LINK(InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); + DECL_DLLPRIVATE_STATIC_LINK(SfxModalDialog, InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); protected: SfxModalDialog(vcl::Window *pParent, const OUString& rID, const OUString& rUIXMLDescription); @@ -86,7 +86,7 @@ class SFX2_DLLPUBLIC SfxModelessDialog: public ModelessDialog void Init(SfxBindings *pBindinx, SfxChildWindow *pCW); - DECL_DLLPRIVATE_LINK(InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); + DECL_DLLPRIVATE_STATIC_LINK(SfxModelessDialog, InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); protected: SfxModelessDialog( SfxBindings*, SfxChildWindow*, vcl::Window*, const OUString& rID, const OUString& rUIXMLDescription ); @@ -110,7 +110,7 @@ public: class SFX2_DLLPUBLIC SfxDialogController : public weld::GenericDialogController { private: - DECL_DLLPRIVATE_LINK(InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); + DECL_DLLPRIVATE_STATIC_LINK(SfxDialogController, InstallLOKNotifierHdl, void*, vcl::ILibreOfficeKitNotifier*); public: SfxDialogController(weld::Widget* pParent, const OUString& rUIFile, const OString& rDialogId); }; diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index ced0db56320d..af6c050c1dc8 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -750,7 +750,7 @@ public: SAL_DLLPRIVATE SignatureState ImplGetSignatureState( bool bScriptingContent = false ); SAL_DLLPRIVATE bool QuerySaveSizeExceededModules_Impl( const css::uno::Reference< css::task::XInteractionHandler >& xHandler ); - SAL_DLLPRIVATE bool QueryAllowExoticFormat_Impl( const css::uno::Reference< css::task::XInteractionHandler >& xHandler, + SAL_DLLPRIVATE static bool QueryAllowExoticFormat_Impl( const css::uno::Reference< css::task::XInteractionHandler >& xHandler, const OUString& rURL, const OUString& rFilterUIName); diff --git a/include/sfx2/progress.hxx b/include/sfx2/progress.hxx index 0734998c7357..10b9de3f22ec 100644 --- a/include/sfx2/progress.hxx +++ b/include/sfx2/progress.hxx @@ -55,7 +55,7 @@ public: void Suspend(); bool IsSuspended() const { return bSuspended; } - void Reschedule(); + static void Reschedule(); void Stop(); diff --git a/include/sfx2/sidebar/DeckTitleBar.hxx b/include/sfx2/sidebar/DeckTitleBar.hxx index 73daefb4d8e4..26e1a29b4216 100644 --- a/include/sfx2/sidebar/DeckTitleBar.hxx +++ b/include/sfx2/sidebar/DeckTitleBar.hxx @@ -31,7 +31,7 @@ public: const std::function<void()>& rCloserAction); void SetCloserVisible(const bool bIsCloserVisible); - tools::Rectangle GetDragArea() const; + static tools::Rectangle GetDragArea(); virtual void DataChanged(const DataChangedEvent& rEvent) override; virtual void MouseMove(const MouseEvent& rMouseEvent) override; |