desktop/source/deployment/inc/lockfile.hxx | 3 --- desktop/source/deployment/misc/lockfile.cxx | 9 --------- unusedcode.easy | 1 - 3 files changed, 13 deletions(-)
New commits: commit 1eafd90aee0c945b941db99d70a25d1b633c1401 Author: Marcos Paulo de Souza <marcos.souza....@gmail.com> Date: Sat Dec 1 23:43:40 2012 -0200 Remove unused method from desktop Change-Id: I17b269c70bbf82aa5a4345d488777ac98d1d6938 Signed-off-by: Marcos Paulo de Souza <marcos.souza....@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1221 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/desktop/source/deployment/inc/lockfile.hxx b/desktop/source/deployment/inc/lockfile.hxx index 8a6daf3..3d9a365 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 d4dcaf5..6bb7bb7 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 d3db1d4..75f6d12 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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits