diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-31 18:17:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-31 18:17:03 +0200 |
commit | 94d9d895edac0b99e0fbc94ff7763292af1fdc5b (patch) | |
tree | f3806cd6e5c2acd1fb74f97451ddb719406c35f4 /desktop/source/deployment | |
parent | 967e9e6bbb36eb925c14b43b9baff541d82ee4c0 (diff) |
Remove some unnecessary scaffolding around SAL_WARN calls
Change-Id: Iaec105d85a283ad15fdca6ffc5cf3d2ec5acac18
Diffstat (limited to 'desktop/source/deployment')
5 files changed, 0 insertions, 9 deletions
diff --git a/desktop/source/deployment/dp_log.cxx b/desktop/source/deployment/dp_log.cxx index f84aac3c53ae..c03caaef2461 100644 --- a/desktop/source/deployment/dp_log.cxx +++ b/desktop/source/deployment/dp_log.cxx @@ -78,7 +78,6 @@ void ProgressLogImpl::disposing() } } catch (const Exception & exc) { - (void) exc; SAL_WARN( "desktop", exc.Message ); } } @@ -137,7 +136,6 @@ void ProgressLogImpl::log_write( OString const & text ) } } catch (const io::IOException & exc) { - (void) exc; SAL_WARN( "desktop", exc.Message ); } } diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index ee7d91a43521..2e5f00fc8654 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -741,7 +741,6 @@ uno::Sequence< OUString > ExtMgrDialog::raiseAddPicker() } catch (const lang::IllegalArgumentException & exc) { SAL_WARN( "desktop", exc.Message ); - (void) exc; } } xFilePicker->setCurrentFilter( sDefaultFilter ); @@ -1387,7 +1386,6 @@ bool UpdateRequiredDialog::isEnabled( const uno::Reference< deployment::XPackage } catch ( const uno::RuntimeException & ) { throw; } catch (const uno::Exception & exc) { - (void) exc; SAL_WARN( "desktop", exc.Message ); bRegistered = false; } diff --git a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx index 28863f9bc59b..4bbae0635642 100644 --- a/desktop/source/deployment/gui/dp_gui_theextmgr.cxx +++ b/desktop/source/deployment/gui/dp_gui_theextmgr.cxx @@ -344,7 +344,6 @@ PackageState TheExtensionManager::getPackageState( const uno::Reference< deploym throw; } catch (const uno::Exception & exc) { - (void) exc; SAL_WARN( "desktop", exc.Message ); return NOT_AVAILABLE; } diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 2dd0abd3a945..a49bff015734 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -582,7 +582,6 @@ OUString PackageManagerImpl::detectMediaType( catch (const lang::IllegalArgumentException & exc) { if (throw_exc) throw; - (void) exc; SAL_WARN( "desktop", exc.Message ); } } @@ -1026,12 +1025,10 @@ PackageManagerImpl::getDeployedPackages_( } catch (const lang::IllegalArgumentException & exc) { // ignore - (void) exc; // avoid warnings SAL_WARN( "desktop", exc.Message ); } catch (const deployment::DeploymentException& exc) { // ignore - (void) exc; // avoid warnings SAL_WARN( "desktop", exc.Message ); } } diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 93a8060231b1..2c40f9e54798 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -1060,7 +1060,6 @@ void BackendImpl::PackageImpl::exportTo( ::cppu::getCaughtException() ) ); } catch (const lang::IllegalArgumentException & exc) { - (void) exc; SAL_WARN( "desktop", exc.Message ); } |