diff options
Diffstat (limited to 'toolkit/source/awt/asynccallback.cxx')
-rw-r--r-- | toolkit/source/awt/asynccallback.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx index 63346a9172e2..b8cb52eff2e1 100644 --- a/toolkit/source/awt/asynccallback.cxx +++ b/toolkit/source/awt/asynccallback.cxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> +#include <boost/noncopyable.hpp> #include "vcl/svapp.hxx" #include "osl/mutex.hxx" #include "sal/config.h" @@ -34,7 +36,8 @@ namespace { class AsyncCallback: public ::cppu::WeakImplHelper2< css::lang::XServiceInfo, - css::awt::XRequestCallback> + css::awt::XRequestCallback>, + private boost::noncopyable { public: AsyncCallback() {} @@ -60,9 +63,6 @@ private: DECL_STATIC_LINK( AsyncCallback, Notify_Impl, CallbackData* ); - AsyncCallback(AsyncCallback &); // not defined - void operator =(AsyncCallback &); // not defined - virtual ~AsyncCallback() {} }; |