diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 08:55:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 09:05:21 +0000 |
commit | 5c3a6d383e9aa89252f796a6b17adf81f2bb40a1 (patch) | |
tree | 38b07246add305cbe6307cd4316c74e3dcea8800 /svx | |
parent | b733190b0eae3177a30e09054a764eed4f616ba2 (diff) |
callcatcher: update unused code
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/svxpixelctlaccessiblecontext.cxx | 7 | ||||
-rw-r--r-- | svx/source/inc/svxpixelctlaccessiblecontext.hxx | 2 |
2 files changed, 2 insertions, 7 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx index b84d9abe0637..398d3835f659 100644 --- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx +++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx @@ -557,15 +557,12 @@ void SAL_CALL SvxPixelCtlAccessible::disposing() } } + void SvxPixelCtlAccessible::Invalidate() { pPixelCtl = 0; } -void SvxPixelCtlAccessible::ThrowExceptionIfNotAlive( void ) throw( lang::DisposedException ) -{ - if( IsNotAlive() ) - throw lang::DisposedException(); -} + void SvxPixelCtlAccessible::IsValid() throw (uno::RuntimeException) { if(!pPixelCtl) diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx index ea3a0da8c815..5601c3ec0684 100644 --- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx +++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx @@ -249,8 +249,6 @@ public: inline sal_Bool IsAlive( void ) const; /// @returns true if it's not disposed and no in disposing inline sal_Bool IsNotAlive( void ) const; - /// throws the exception DisposedException if it's not alive - void ThrowExceptionIfNotAlive( void ) throw( ::com::sun::star::lang::DisposedException ); protected: /** @attention This method requires locked mutex's and a living object. |