diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-22 16:21:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-22 16:21:57 +0200 |
commit | aa1aedb2a0ef97cb6110f18a1de86abc8dbcd304 (patch) | |
tree | 102c3e65bd67ae3d28855f2f065141519070502d /vcl/inc/unx | |
parent | 5329713ca1c31965da57db93431c5d7da74c4c92 (diff) |
rhbz#954991 Avoid static data (causing trouble at exit)
Change-Id: Ifc8275276811ba24b62f93096e7cb98a5dbf658c
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/salinst.h | 10 |
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: |