diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-09 10:42:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-09 10:42:38 +0200 |
commit | 5180805c3f74998c27b0ab0af3292f9d35a61a1b (patch) | |
tree | 00b46c51e3d8af89de7ea81ef1d717458175945b /jvmfwk | |
parent | f4006967e815a6dbe701dac5e83b4dc74e63a708 (diff) |
Clean up function declarations
Change-Id: I0ad09f02d1d09d6ce45bc204c8cd8d26ef663ddb
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
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 <utility> @@ -124,8 +125,11 @@ namespace jfw_plugin { extern VendorSupportMapEntry gVendorMap[]; +#if defined WNT bool getSDKInfoFromRegistry(vector<OUString> & vecHome); bool getJREInfoFromRegistry(vector<OUString>& 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(()) |