summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-30 14:54:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-30 14:57:57 +0200
commit5f50d9593d0754fc4c4c0655b14b27f5ad5635e4 (patch)
tree08169a2107c593291cf095e08d77ea96deea7532 /vcl/inc
parent547135c0dcd5cd5335e625c24e78986529f9a94b (diff)
Mark WindowImpl as noncopyable
Change-Id: I80f981216067a03578cfc812b006e6b68b77068e
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/window.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index d8c864bd5725..ccecb3d63c86 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -20,6 +20,9 @@
#ifndef INCLUDED_VCL_INC_WINDOW_H
#define INCLUDED_VCL_INC_WINDOW_H
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
#include <list>
@@ -192,7 +195,7 @@ struct ImplAccessibleInfos
enum AlwaysInputMode { AlwaysInputNone = 0, AlwaysInputEnabled = 1, AlwaysInputDisabled =2 };
-class WindowImpl
+class WindowImpl: private boost::noncopyable
{
public:
WindowImpl( WindowType );