summaryrefslogtreecommitdiffstats
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 4cf18713728a..bd65ec9b670d 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -33,7 +33,6 @@
#include "rtl/instance.hxx"
#include "salhelper/linkhelper.hxx"
#include "salhelper/thread.hxx"
-#include "boost/noncopyable.hpp"
#include <memory>
#include "com/sun/star/uno/Sequence.hxx"
#include <utility>
@@ -205,7 +204,7 @@ rtl::Bootstrap * getBootstrap()
}
-class FileHandleGuard: private boost::noncopyable
+class FileHandleGuard
{
public:
explicit FileHandleGuard(oslFileHandle & rHandle):
@@ -213,6 +212,9 @@ public:
inline ~FileHandleGuard();
+ FileHandleGuard(const FileHandleGuard&) = delete;
+ FileHandleGuard& operator=(const FileHandleGuard&) = delete;
+
inline oslFileHandle & getHandle() { return m_rHandle; }
private: