diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-02 23:16:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-05 10:54:19 +0100 |
commit | af60795f76f04e5a0315eeaa4cb9c5a90f4ae90c (patch) | |
tree | 529f6d32a19fc394afec567ad246dfb3f5522538 /unotools | |
parent | bIsCompressed is always false (diff) | |
download | core-af60795f76f04e5a0315eeaa4cb9c5a90f4ae90c.tar.gz core-af60795f76f04e5a0315eeaa4cb9c5a90f4ae90c.zip |
callcatcher: some more unused code
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/eventcfg.hxx | 2 | ||||
-rw-r--r-- | unotools/source/config/eventcfg.cxx | 13 |
2 files changed, 0 insertions, 15 deletions
diff --git a/unotools/inc/unotools/eventcfg.hxx b/unotools/inc/unotools/eventcfg.hxx index 05dec2159595..253aaba9963f 100644 --- a/unotools/inc/unotools/eventcfg.hxx +++ b/unotools/inc/unotools/eventcfg.hxx @@ -87,7 +87,6 @@ public: void Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames); void Commit(); - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw (::com::sun::star::uno::RuntimeException); void SAL_CALL replaceByName( const ::rtl::OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw (::com::sun::star::uno::RuntimeException); @@ -105,7 +104,6 @@ class UNOTOOLS_DLLPUBLIC GlobalEventConfig: ~GlobalEventConfig( ); static ::osl::Mutex& GetOwnStaticMutex(); - void EstablishFrameCallback(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame); ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw (::com::sun::star::uno::RuntimeException); void SAL_CALL replaceByName( const ::rtl::OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index a6de56a6a5d6..4e7aec4d7342 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -259,13 +259,6 @@ void GlobalEventConfig_Impl::initBindingInfo() } } -Reference< container::XNameReplace > SAL_CALL GlobalEventConfig_Impl::getEvents() throw (::com::sun::star::uno::RuntimeException) -{ - //how to return this object as an XNameReplace? - Reference< container::XNameReplace > ret; - return ret; -} - void SAL_CALL GlobalEventConfig_Impl::replaceByName( const OUString& aName, const Any& aElement ) throw (lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, RuntimeException) { Sequence< beans::PropertyValue > props; @@ -379,12 +372,6 @@ GlobalEventConfig::~GlobalEventConfig() } } -void GlobalEventConfig::EstablishFrameCallback(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame) -{ - MutexGuard aGuard( GetOwnStaticMutex() ); - m_pImpl->EstablishFrameCallback( xFrame ); -} - Reference< container::XNameReplace > SAL_CALL GlobalEventConfig::getEvents() throw (::com::sun::star::uno::RuntimeException) { MutexGuard aGuard( GetOwnStaticMutex() ); |