summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrol.cxx')
-rw-r--r--toolkit/source/controls/unocontrol.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index ee55d5bcc4de..cce2b3be406f 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
#include <com/sun/star/awt/XControlContainer.hpp>
#include <com/sun/star/awt/WindowAttribute.hpp>
#include <com/sun/star/awt/VclWindowPeerAttribute.hpp>
@@ -92,7 +95,7 @@ static Sequence< OUString> lcl_ImplGetPropertyNames( const Reference< XMultiProp
}
-class VclListenerLock
+class VclListenerLock: private boost::noncopyable
{
private:
VCLXWindow* m_pLockWindow;
@@ -109,11 +112,6 @@ public:
if ( m_pLockWindow )
m_pLockWindow->resumeVclEventListening( );
}
-
-private:
- VclListenerLock(); // never implemented
- VclListenerLock( const VclListenerLock& ); // never implemented
- VclListenerLock& operator=( const VclListenerLock& ); // never implemented
};
typedef ::std::map< OUString, sal_Int32 > MapString2Int;