Kaydet (Commit) 54b4add6 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused HelpCloseListener

Change-Id: I9040a1262b31f8d0f19594b6efcf12b2c38be7be
üst 0a877967
......@@ -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: */
......@@ -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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment