diff options
-rw-r--r-- | desktop/source/deployment/inc/lockfile.hxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/misc/lockfile.cxx | 9 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 13 deletions
diff --git a/desktop/source/deployment/inc/lockfile.hxx b/desktop/source/deployment/inc/lockfile.hxx index 8a6daf39a81b..3d9a365d74cd 100644 --- a/desktop/source/deployment/inc/lockfile.hxx +++ b/desktop/source/deployment/inc/lockfile.hxx @@ -65,9 +65,6 @@ namespace desktop { // found (iff gui) and returns false when we may not continue sal_Bool check( fpExecWarning execWarning ); - // removes the lockfile. should only be called in exceptional situations - void clean(void); - // removes the lockfile ~Lockfile(void); diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx index d4dcaf59ed29..6bb7bb73c3cb 100644 --- a/desktop/source/deployment/misc/lockfile.cxx +++ b/desktop/source/deployment/misc/lockfile.cxx @@ -199,15 +199,6 @@ 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 diff --git a/unusedcode.easy b/unusedcode.easy index d3db1d49c471..75f6d1225f01 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -47,7 +47,6 @@ connectivity::file::OStatement_Base::reset() connectivity::mork::OColumnAlias::OColumnAlias() connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char) connectivity::sdbcx::OGroup::OGroup(unsigned char) -desktop::Lockfile::clean() framework::OReadMenuDocumentHandler::getServiceFactory() jfw_plugin::VendorBase::createInstance() oox::drawingml::TextListStyle::dump() const |