diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-15 20:16:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-16 08:34:03 +0200 |
commit | f173aa0a86d86ddfa42ee03b5973495eb595c1fc (patch) | |
tree | c99e6f83eeb224d3010d1aaf5b83e1347e216c82 /include | |
parent | 39ec20cd90164089cb2b9a89e1b7d64a1c12822a (diff) |
loplugin:unusedmethods
Change-Id: Ibc1ec64cba8eb083aaff28848a42337cc597ea19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/componentmodule.hxx | 4 | ||||
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/edit.hxx | 1 | ||||
-rw-r--r-- | include/vcl/toolkit/button.hxx | 5 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 1 | ||||
-rw-r--r-- | include/vcl/window.hxx | 2 |
6 files changed, 0 insertions, 15 deletions
diff --git a/include/comphelper/componentmodule.hxx b/include/comphelper/componentmodule.hxx index cfffcb39b844..0ca1b7e5a457 100644 --- a/include/comphelper/componentmodule.hxx +++ b/include/comphelper/componentmodule.hxx @@ -118,10 +118,6 @@ namespace comphelper css::uno::Reference< css::uno::XInterface > getComponentFactory( const OUString& _rImplementationName ); - /** version of getComponentFactory which directly takes the char argument you got in your component_getFactory call - */ - void* getComponentFactory( const char* _pImplementationName ); - private: OModule( const OModule& ) = delete; OModule& operator=( const OModule& ) = delete; diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 9ace81d5d3f3..b5ffad460555 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -178,8 +178,6 @@ namespace svt public: GenericEditImplementation( EDIT& _rEdit ); - EDIT& GetEditWindow() { return static_cast< EDIT& >( GetControl() ); } - virtual Control& GetControl() override; virtual OUString GetText( LineEnd aSeparator ) const override; diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index e48c5748d38f..84e10a8fd963 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -171,7 +171,6 @@ public: virtual void SetModifyFlag(); virtual void ClearModifyFlag(); - virtual bool IsModified() const { return mpSubEdit ? mpSubEdit->mbModified : mbModified; } void SetEchoChar( sal_Unicode c ); sal_Unicode GetEchoChar() const { return mcEchoChar; } diff --git a/include/vcl/toolkit/button.hxx b/include/vcl/toolkit/button.hxx index bcc7ac1c40cb..1f47597397a2 100644 --- a/include/vcl/toolkit/button.hxx +++ b/include/vcl/toolkit/button.hxx @@ -157,17 +157,12 @@ public: void EnableTriState( bool bTriState = true ); bool IsTriStateEnabled() const { return mbTriState; } - void SaveValue() { meSaveValue = GetState(); } - TriState GetSavedValue() const { return meSaveValue; } - bool IsValueChangedFromSaved() const { return meSaveValue != GetState(); } - static Image GetCheckImage( const AllSettings& rSettings, DrawButtonFlags nFlags ); Size CalcMinimumSize( long nMaxWidth = 0 ) const; virtual Size GetOptimalSize() const override; void SetToggleHdl( const Link<CheckBox&,void>& rLink ) { maToggleHdl = rLink; } - void SetLegacyNoTextAlign( bool bVal ) { mbLegacyNoTextAlign = bVal; } virtual bool set_property(const OString &rKey, const OUString &rValue) override; virtual void ShowFocus(const tools::Rectangle& rRect) override; diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index a21e7ba66b83..9292ebe037cd 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -110,7 +110,6 @@ public: virtual void SetModifyFlag() override; virtual void ClearModifyFlag() override; - virtual bool IsModified() const override; void EnableUpdateData( sal_uLong nTimeout ); virtual void UpdateData(); diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index c4cd34f52513..bcd98f64d572 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1149,8 +1149,6 @@ public: void SetHelpId( const OString& ); const OString& GetHelpId() const; - vcl::Window* FindWindow( const Point& rPos ) const; - sal_uInt16 GetChildCount() const; vcl::Window* GetChild( sal_uInt16 nChild ) const; vcl::Window* GetWindow( GetWindowType nType ) const; |