summaryrefslogtreecommitdiff
path: root/svl/source/svdde/ddeimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/svdde/ddeimp.hxx')
-rw-r--r--svl/source/svdde/ddeimp.hxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/svl/source/svdde/ddeimp.hxx b/svl/source/svdde/ddeimp.hxx
index d3b7d84221bd..a6f7cd5d832c 100644
--- a/svl/source/svdde/ddeimp.hxx
+++ b/svl/source/svdde/ddeimp.hxx
@@ -34,6 +34,7 @@
#include <tools/string.hxx>
#include <tools/shl.hxx>
+#include <boost/noncopyable.hpp>
#include <vector>
class DdeService;
@@ -122,8 +123,9 @@ struct DdeDataImp
class DdeConnection;
class DdeServices;
-struct DdeInstData
+class DdeInstData : private boost::noncopyable
{
+public:
sal_uInt16 nRefCount;
std::vector<DdeConnection*> aConnections;
// Server
@@ -134,6 +136,17 @@ struct DdeInstData
// Client
DWORD hDdeInstCli;
short nInstanceCli;
+
+ DdeInstData()
+ : nRefCount(0)
+ , hCurConvSvr(0)
+ , hDdeInstSvr(0)
+ , nInstanceSvr(0)
+ , pServicesSvr(NULL)
+ , hDdeInstCli(0)
+ , nInstanceCli(0)
+ {
+ }
};
#ifndef SHL_SVDDE