diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-17 22:08:56 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-17 22:09:27 +0200 |
commit | 393b14fddd7b328a6e2af78c0c351447ccb0ba6a (patch) | |
tree | 9585f11c8138d17ab144519d1fc3ac1c5618acb6 /toolkit | |
parent | 8ae293f0a1509b26f9a65f9297fddca7b106e46e (diff) |
Remove some unused methods
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/inc/toolkit/awt/vclxdevice.hxx | 1 | ||||
-rw-r--r-- | toolkit/inc/toolkit/awt/vclxwindows.hxx | 1 | ||||
-rw-r--r-- | toolkit/source/awt/vclxdevice.cxx | 5 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 7 |
4 files changed, 0 insertions, 14 deletions
diff --git a/toolkit/inc/toolkit/awt/vclxdevice.hxx b/toolkit/inc/toolkit/awt/vclxdevice.hxx index fba5ec764a86..b800b2c2728f 100644 --- a/toolkit/inc/toolkit/awt/vclxdevice.hxx +++ b/toolkit/inc/toolkit/awt/vclxdevice.hxx @@ -75,7 +75,6 @@ public: OutputDevice* GetOutputDevice() const { return mpOutputDevice; } void SetCreatedWithToolkit( sal_Bool bCreatedWithToolkit ); - sal_Bool IsCreatedWithToolkit() const; // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); diff --git a/toolkit/inc/toolkit/awt/vclxwindows.hxx b/toolkit/inc/toolkit/awt/vclxwindows.hxx index 3949b543c685..a1f078411d95 100644 --- a/toolkit/inc/toolkit/awt/vclxwindows.hxx +++ b/toolkit/inc/toolkit/awt/vclxwindows.hxx @@ -338,7 +338,6 @@ public: static void ImplGetPropertyIds( std::list< sal_uInt16 > &aIds ); virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); } - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getFirstActionListener (); }; // ---------------------------------------------------- diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx index 40a5bb777e17..39c74b10e907 100644 --- a/toolkit/source/awt/vclxdevice.cxx +++ b/toolkit/source/awt/vclxdevice.cxx @@ -81,11 +81,6 @@ void VCLXDevice::SetCreatedWithToolkit( sal_Bool bCreatedWithToolkit ) nFlags &= ~FLAGS_CREATEDWITHTOOLKIT; } -sal_Bool VCLXDevice::IsCreatedWithToolkit() const -{ - return ( nFlags & FLAGS_CREATEDWITHTOOLKIT ) != 0; -} - // ::com::sun::star::uno::XInterface ::com::sun::star::uno::Any VCLXDevice::queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 64a4ad8111b9..b8d13e24f5af 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1335,13 +1335,6 @@ void VCLXRadioButton::ImplClickedOrToggled( sal_Bool bToggled ) } } -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > VCLXRadioButton::getFirstActionListener () -{ - if (!maItemListeners.getLength ()) - return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > (); - return maActionListeners.getElements()[0]; -} - // ---------------------------------------------------- // class VCLXSpinField // ---------------------------------------------------- |