diff options
Diffstat (limited to 'unotools/source/misc/closeveto.cxx')
-rw-r--r-- | unotools/source/misc/closeveto.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx index 8c0328c33f7d..4044fa775e4b 100644 --- a/unotools/source/misc/closeveto.cxx +++ b/unotools/source/misc/closeveto.cxx @@ -25,11 +25,9 @@ #include <rtl/ref.hxx> #include <tools/diagnose_ex.h> - namespace utl { - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::UNO_QUERY; @@ -46,7 +44,6 @@ namespace utl using ::com::sun::star::util::CloseVetoException; using ::com::sun::star::lang::EventObject; - //= CloseListener_Impl typedef ::cppu::WeakImplHelper1 < XCloseListener @@ -77,7 +74,6 @@ namespace utl bool m_bHasOwnership; }; - void SAL_CALL CloseListener_Impl::queryClosing( const EventObject& i_source, sal_Bool i_deliverOwnership ) throw (CloseVetoException, RuntimeException, std::exception) { (void)i_source; @@ -88,19 +84,16 @@ namespace utl throw CloseVetoException(); } - void SAL_CALL CloseListener_Impl::notifyClosing( const EventObject& i_source ) throw (RuntimeException, std::exception) { (void)i_source; } - void SAL_CALL CloseListener_Impl::disposing( const EventObject& i_source ) throw (RuntimeException, std::exception) { (void)i_source; } - //= CloseVeto_Data struct CloseVeto_Data @@ -109,7 +102,6 @@ namespace utl ::rtl::Reference< CloseListener_Impl > pListener; }; - //= operations namespace @@ -124,7 +116,6 @@ namespace utl i_data.xCloseable->addCloseListener( i_data.pListener.get() ); } - void lcl_deinit( CloseVeto_Data& i_data ) { if ( !i_data.xCloseable.is() ) @@ -146,24 +137,19 @@ namespace utl } } - //= CloseVeto - CloseVeto::CloseVeto( const Reference< XInterface >& i_closeable ) :m_pData( new CloseVeto_Data ) { lcl_init( *m_pData, i_closeable ); } - CloseVeto::~CloseVeto() { lcl_deinit( *m_pData ); } - } // namespace utl - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |