From 5180805c3f74998c27b0ab0af3292f9d35a61a1b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Apr 2014 10:42:38 +0200 Subject: Clean up function declarations Change-Id: I0ad09f02d1d09d6ce45bc204c8cd8d26ef663ddb --- jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'jvmfwk/plugins') diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 59999c105f57..8ac2b4eb1475 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -31,6 +31,7 @@ #include "rtl/instance.hxx" #include "salhelper/linkhelper.hxx" #include "salhelper/thread.hxx" +#include "boost/noncopyable.hpp" #include "boost/scoped_array.hpp" #include "com/sun/star/uno/Sequence.hxx" #include @@ -124,8 +125,11 @@ namespace jfw_plugin { extern VendorSupportMapEntry gVendorMap[]; +#if defined WNT bool getSDKInfoFromRegistry(vector & vecHome); bool getJREInfoFromRegistry(vector& vecJavaHome); +#endif + bool decodeOutput(const OString& s, OUString* out); @@ -179,7 +183,7 @@ rtl::Bootstrap * getBootstrap() -class FileHandleGuard +class FileHandleGuard: private boost::noncopyable { public: inline FileHandleGuard(oslFileHandle & rHandle) SAL_THROW(()): @@ -191,9 +195,6 @@ public: private: oslFileHandle & m_rHandle; - - FileHandleGuard(FileHandleGuard &); // not implemented - void operator =(FileHandleGuard); // not implemented }; inline FileHandleGuard::~FileHandleGuard() SAL_THROW(()) -- cgit