From 6e469f76bb94ae08b758f8a0e1acbf8ee9d51c3f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Mar 2014 12:04:04 +0100 Subject: Remove unused VCLXWindowImpl parts Change-Id: I6b26243e9669c791fdf1bd68193675ca780d41ee --- toolkit/source/awt/vclxwindow.cxx | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index ee84c9a15a2b..9b5ff6b2484e 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -60,6 +60,7 @@ #include #include +#include using namespace ::com::sun::star; @@ -84,7 +85,7 @@ namespace MouseWheelBehavior = ::com::sun::star::awt::MouseWheelBehavior; //= VCLXWindowImpl -class VCLXWindowImpl +class VCLXWindowImpl: private boost::noncopyable { private: typedef ::std::vector< VCLXWindow::Callback > CallbackArray; @@ -183,19 +184,10 @@ public: inline VclContainerListenerMultiplexer& getContainerListeners() { return maContainerListeners; } inline TopWindowListenerMultiplexer& getTopWindowListeners() { return maTopWindowListeners; } - virtual ~VCLXWindowImpl(); - -protected: - virtual void SAL_CALL acquire(); - virtual void SAL_CALL release(); + ~VCLXWindowImpl(); private: DECL_LINK( OnProcessCallbacks, void* ); - -private: - VCLXWindowImpl(); // never implemented - VCLXWindowImpl( const VCLXWindowImpl& ); // never implemented - VCLXWindowImpl& operator=( const VCLXWindowImpl& ); // never implemented }; @@ -313,19 +305,6 @@ IMPL_LINK_NOARG(VCLXWindowImpl, OnProcessCallbacks) return 0L; } - -void SAL_CALL VCLXWindowImpl::acquire() -{ - mrAntiImpl.acquire(); -} - - -void SAL_CALL VCLXWindowImpl::release() -{ - mrAntiImpl.release(); -} - - Reference< XStyleSettings > VCLXWindowImpl::getStyleSettings() { SolarMutexGuard aGuard; -- cgit