summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-19 13:08:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-06-20 14:44:04 +0200
commit34a3f6e8b7604612749d4f700a5db6d380bd0829 (patch)
tree220011aef71068070be35cf0d8884677069c60e1 /vcl/inc
parentc83a393ffe5c80afd18f215f70af3e152d51a6bd (diff)
Move pOneInstance to SessionManagerClient::m_pSession
Change-Id: I264d978fe3db9ab7eedf79351f70cee194ef792c
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/unx/sm.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/unx/sm.hxx b/vcl/inc/unx/sm.hxx
index d3cf9ab9e235..8e47c9aeea0c 100644
--- a/vcl/inc/unx/sm.hxx
+++ b/vcl/inc/unx/sm.hxx
@@ -38,6 +38,7 @@
class SessionManagerClient
{
+ static SalSession * m_pSession;
static SmcConn aSmcConnection;
static rtl::OString m_aClientID;
static bool bDocSaveDone;
@@ -64,7 +65,7 @@ class SessionManagerClient
DECL_STATIC_LINK( SessionManagerClient, SaveYourselfHdl, void* );
DECL_STATIC_LINK( SessionManagerClient, InteractionHdl, void* );
public:
- static void open(); // needed by other plugins, so export
+ static void open(SalSession * pSession);
static void close();
static bool checkDocumentsSaved();