summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-31 18:17:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-31 18:17:03 +0200
commit94d9d895edac0b99e0fbc94ff7763292af1fdc5b (patch)
treef3806cd6e5c2acd1fb74f97451ddb719406c35f4 /sd
parentAdd some loplugin:redundantcast tests (diff)
downloadcore-94d9d895edac0b99e0fbc94ff7763292af1fdc5b.tar.gz
core-94d9d895edac0b99e0fbc94ff7763292af1fdc5b.zip
Remove some unnecessary scaffolding around SAL_WARN calls
Change-Id: Iaec105d85a283ad15fdca6ffc5cf3d2ec5acac18
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/stlsheet.cxx1
-rw-r--r--sd/source/helper/simplereferencecomponent.cxx1
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx1
3 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 477335994037..5c88bba0505f 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -712,7 +712,6 @@ void SAL_CALL SdStyleSheet::release( ) throw ()
}
catch (RuntimeException const& exc)
{ // don't break throw ()
- (void)exc;
SAL_WARN( "sd", exc.Message );
}
OSL_ASSERT( mrBHelper.bDisposed );
diff --git a/sd/source/helper/simplereferencecomponent.cxx b/sd/source/helper/simplereferencecomponent.cxx
index d17abdc8aadc..4d0234743e83 100644
--- a/sd/source/helper/simplereferencecomponent.cxx
+++ b/sd/source/helper/simplereferencecomponent.cxx
@@ -54,7 +54,6 @@ void SimpleReferenceComponent::release()
}
catch (RuntimeException & exc ) // don't break throw ()
{
- (void)exc;
SAL_WARN( "sd", exc.Message );
}
}
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 3291114a9f94..2c85154539bf 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -320,7 +320,6 @@ void SAL_CALL SdXImpressDocument::release() throw ( )
}
catch (const uno::RuntimeException& exc)
{ // don't break throw ()
- (void)exc;
SAL_WARN( "sd", exc.Message );
}
}