diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/optimizerdialog.cxx | 21 | ||||
-rw-r--r-- | sdext/source/minimizer/optimizerdialog.hxx | 20 |
2 files changed, 0 insertions, 41 deletions
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index cf93265292db..3954851a3ea9 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -756,25 +756,4 @@ void SpinListenerFormattedField0Pg1::disposing( const ::com::sun::star::lang::Ev { } - - -void HelpCloseListener::addCloseListener( const Reference < XCloseListener >& ) throw( RuntimeException ) -{ -} -void HelpCloseListener::removeCloseListener( const Reference < XCloseListener >& ) throw( RuntimeException ) -{ -} -void HelpCloseListener::queryClosing( const EventObject&, sal_Bool /* bDeliverOwnership */ ) - throw ( RuntimeException, CloseVetoException, std::exception ) -{ -} -void HelpCloseListener::notifyClosing( const EventObject& ) - throw ( RuntimeException, std::exception ) -{ -} -void HelpCloseListener::disposing( const EventObject& ) throw ( RuntimeException, std::exception ) -{ - mrXFrame = NULL; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sdext/source/minimizer/optimizerdialog.hxx b/sdext/source/minimizer/optimizerdialog.hxx index b77400c4497a..e69d4ec5ac50 100644 --- a/sdext/source/minimizer/optimizerdialog.hxx +++ b/sdext/source/minimizer/optimizerdialog.hxx @@ -37,7 +37,6 @@ #include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/awt/XItemEventBroadcaster.hpp> -#include <com/sun/star/util/XCloseListener.hpp> #include <com/sun/star/frame/XStorable.hpp> #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XDesktop.hpp> @@ -214,25 +213,6 @@ private: OptimizerDialog& mrOptimizerDialog; }; - - -class HelpCloseListener : public ::cppu::WeakImplHelper1< com::sun::star::util::XCloseListener > -{ -public: - HelpCloseListener( com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rXFrame ) : mrXFrame( rXFrame ){}; - - virtual void SAL_CALL addCloseListener(const com::sun::star::uno::Reference < com::sun::star::util::XCloseListener >& ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL removeCloseListener( const com::sun::star::uno::Reference < com::sun::star::util::XCloseListener >& xListener ) throw( com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL notifyClosing( const com::sun::star::lang::EventObject& aEvent ) throw (com::sun::star::uno::RuntimeException, std::exception) ; - virtual void SAL_CALL queryClosing( const com::sun::star::lang::EventObject& aEvent, sal_Bool bDeliverOwnership ) throw (com::sun::star::uno::RuntimeException, com::sun::star::util::CloseVetoException, std::exception) ; - virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& aEvent ) throw (com::sun::star::uno::RuntimeException, std::exception) ; - -private: - - com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& mrXFrame; -}; - - #endif // INCLUDED_SDEXT_SOURCE_MINIMIZER_OPTIMIZERDIALOG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |