summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-12-01 23:43:40 -0200
committerCaolán McNamara <caolanm@redhat.com>2012-12-02 12:43:41 +0000
commit1eafd90aee0c945b941db99d70a25d1b633c1401 (patch)
treead1395e7c9605af4edf99c0e6982d95b74be1097
parent9ef9bba9fe1d7a5b86f3287064fbf7023771f0a4 (diff)
Remove unused method from desktop
Change-Id: I17b269c70bbf82aa5a4345d488777ac98d1d6938 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1221 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--desktop/source/deployment/inc/lockfile.hxx3
-rw-r--r--desktop/source/deployment/misc/lockfile.cxx9
-rwxr-xr-xunusedcode.easy1
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