summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-22 16:21:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-22 16:21:57 +0200
commitaa1aedb2a0ef97cb6110f18a1de86abc8dbcd304 (patch)
tree102c3e65bd67ae3d28855f2f065141519070502d /vcl/inc
parent5329713ca1c31965da57db93431c5d7da74c4c92 (diff)
rhbz#954991 Avoid static data (causing trouble at exit)
Change-Id: Ifc8275276811ba24b62f93096e7cb98a5dbf658c
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/salinst.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/inc/unx/salinst.h b/vcl/inc/unx/salinst.h
index a997457e8a0d..3f8d06e1eb24 100644
--- a/vcl/inc/unx/salinst.h
+++ b/vcl/inc/unx/salinst.h
@@ -27,10 +27,20 @@
#include <vcl/solarmutex.hxx>
#include "generic/geninst.h"
+#include <prex.h>
+#include <X11/Xlib.h>
+#include <postx.h>
+
+namespace com { namespace sun { namespace star { namespace datatransfer {
+ namespace clipboard { class XClipboard; }
+} } } }
class SalXLib;
class VCLPLUG_GEN_PUBLIC X11SalInstance : public SalGenericInstance
{
+private:
+ boost::unordered_map< OUString, boost::unordered_map< Atom, com::sun::star::uno::Reference< com::sun::star::datatransfer::clipboard::XClipboard > >, OUStringHash > m_aInstances;
+
protected:
SalXLib *mpXLib;
public: