rhbz#954991 Avoid static data (causing trouble at exit)
Change-Id: Ifc8275276811ba24b62f93096e7cb98a5dbf658c
This commit is contained in:
parent
5329713ca1
commit
aa1aedb2a0
@ -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:
|
||||
|
@ -61,8 +61,6 @@ Sequence< OUString > SAL_CALL x11::Xdnd_dropTarget_getSupportedServiceNames()
|
||||
|
||||
css::uno::Reference< XInterface > X11SalInstance::CreateClipboard( const Sequence< Any >& arguments )
|
||||
{
|
||||
static boost::unordered_map< OUString, ::boost::unordered_map< Atom, Reference< XClipboard > >, OUStringHash > m_aInstances;
|
||||
|
||||
OUString aDisplayName;
|
||||
Atom nSelection;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user