summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/misc/lockfile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/misc/lockfile.cxx')
-rw-r--r--desktop/source/deployment/misc/lockfile.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx
index fd9291fecc72..a06907731008 100644
--- a/desktop/source/deployment/misc/lockfile.cxx
+++ b/desktop/source/deployment/misc/lockfile.cxx
@@ -208,6 +208,15 @@ namespace desktop {
aConfig.Flush( );
}
+ void Lockfile::clean( void )
+ {
+ if ( m_bRemove )
+ {
+ File::remove( m_aLockname );
+ m_bRemove = sal_False;
+ }
+ }
+
Lockfile::~Lockfile( void )
{
// unlock userdata by removing file