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 /chart2 | |
parent | 967e9e6bbb36eb925c14b43b9baff541d82ee4c0 (diff) |
Remove some unnecessary scaffolding around SAL_WARN calls
Change-Id: Iaec105d85a283ad15fdca6ffc5cf3d2ec5acac18
Diffstat (limited to 'chart2')
3 files changed, 0 insertions, 7 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index 519dde5bd163..c091fa701007 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -140,7 +140,6 @@ namespace } catch( const uno::Exception & ex ) { - (void)ex; // no warning in non-debug builds SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message); } } @@ -167,7 +166,6 @@ namespace } catch( const uno::Exception & ex ) { - (void)ex; // no warning in non-debug builds SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message); } } @@ -183,7 +181,6 @@ namespace } catch( const uno::Exception & ex ) { - (void)ex; // no warning in non-debug builds SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message); } return Color( nResult ); @@ -200,7 +197,6 @@ namespace } catch( const uno::Exception & ex ) { - (void)(ex); // no warning in non-debug builds SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message); } } diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx index 7669bd253674..db43d225b73a 100644 --- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx @@ -187,12 +187,10 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet ) } catch( const beans::UnknownPropertyException &ex ) { - (void)ex; SAL_WARN( "chart2", ex.Message << " - unknown Property: " << aProperty.first); } catch( const uno::Exception &ex ) { - (void)ex; SAL_WARN( "chart2", ex.Message ); } } diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 308b64a5ad8e..a385278e8cc9 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -216,7 +216,6 @@ void ChartController::TheModel::tryTermination() } catch(const uno::Exception& ex) { - (void)ex; // no warning in non-debug builds SAL_WARN( "chart2", "Termination of model failed: " << ex.Message ); } } |