summaryrefslogtreecommitdiff
path: root/desktop/inc/app.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-02 12:47:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-02 12:48:14 +0000
commit1a8f7865450047e6e5b01598c5658026f392388e (patch)
treecc02ac1f3bee7abab531fadd1ee040586cf41d55 /desktop/inc/app.hxx
parent1eafd90aee0c945b941db99d70a25d1b633c1401 (diff)
ensure lockfile doesn't leak
Change-Id: I6a4c7024da154104d985bca25b26a8243174ec8d
Diffstat (limited to 'desktop/inc/app.hxx')
-rw-r--r--desktop/inc/app.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index dfa74c4dfe0c..8fd1b58103f5 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -22,6 +22,7 @@
// stl includes first
#include <map>
+#include <boost/scoped_ptr.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
@@ -193,7 +194,7 @@ class Desktop : public Application
OUString m_aBootstrapErrorMessage;
BootstrapStatus m_aBootstrapStatus;
- Lockfile *m_pLockfile;
+ boost::scoped_ptr<Lockfile> m_xLockfile;
Timer m_firstRunTimer;
static ResMgr* pResMgr;