summaryrefslogtreecommitdiff
path: root/stoc/source/javavm/javavm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/javavm/javavm.cxx')
-rw-r--r--stoc/source/javavm/javavm.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 7a1e08c27f16..683e6ef9b00f 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -78,7 +78,6 @@
#include <time.h>
#include <memory>
#include <vector>
-#include <boost/noncopyable.hpp>
// Properties of the javavm can be put
// as a komma separated list in this
@@ -117,8 +116,7 @@ class NoJavaIniException: public css::uno::Exception
};
class SingletonFactory:
- private cppu::WeakImplHelper< css::lang::XEventListener >,
- private boost::noncopyable
+ private cppu::WeakImplHelper< css::lang::XEventListener >
{
public:
static css::uno::Reference< css::uno::XInterface > getSingleton(
@@ -129,6 +127,9 @@ private:
virtual inline ~SingletonFactory() {}
+ SingletonFactory(const SingletonFactory&) = delete;
+ SingletonFactory& operator=(const SingletonFactory&) = delete;
+
virtual void SAL_CALL disposing(css::lang::EventObject const &)
throw (css::uno::RuntimeException, std::exception) override;
@@ -530,7 +531,7 @@ void initVMConfiguration(
setTimeZone(pjvm);
}
-class DetachCurrentThread: private boost::noncopyable {
+class DetachCurrentThread {
public:
explicit DetachCurrentThread(JavaVM * jvm): m_jvm(jvm) {}
@@ -540,6 +541,9 @@ public:
}
}
+ DetachCurrentThread(const DetachCurrentThread&) = delete;
+ DetachCurrentThread& operator=(const DetachCurrentThread&) = delete;
+
private:
JavaVM * m_jvm;
};