summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/container/embeddedobjectcontainer.cxx1
-rw-r--r--comphelper/source/misc/logging.cxx9
-rw-r--r--include/comphelper/sequence.hxx1
3 files changed, 3 insertions, 8 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 2a045edf863c..c5d7b031ded6 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -1041,7 +1041,6 @@ bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < embed
}
SAL_WARN_IF( !bFound,"comphelper.container", "Object not found for removal!" );
- (void)bFound;
if ( xPersist.is() && bKeepToTempStorage ) // #i119941#
{
// remove replacement image (if there is one)
diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx
index 6df71c3d01bf..3744d9580727 100644
--- a/comphelper/source/misc/logging.cxx
+++ b/comphelper/source/misc/logging.cxx
@@ -63,9 +63,8 @@ namespace comphelper
else
m_xLogger = xPool->getDefaultLogger();
}
- catch( const Exception& e )
+ catch( const Exception& )
{
- (void)e;
OSL_FAIL( "EventLogger_Impl::impl_createLogger_nothrow: caught an exception!" );
}
}
@@ -90,9 +89,8 @@ namespace comphelper
{
return m_pImpl->getLogger()->isLoggable( _nLogLevel );
}
- catch( const Exception& e )
+ catch( const Exception& )
{
- (void)e;
OSL_FAIL( "EventLogger::isLoggable: caught an exception!" );
}
@@ -157,9 +155,8 @@ namespace comphelper
xLogger->log( _nLogLevel, sMessage );
}
}
- catch( const Exception& e )
+ catch( const Exception& )
{
- (void)e;
OSL_FAIL( "EventLogger::impl_log: caught an exception!" );
}
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx
index 26d08c993c1e..c3bddb28aaa9 100644
--- a/include/comphelper/sequence.hxx
+++ b/include/comphelper/sequence.hxx
@@ -174,7 +174,6 @@ namespace comphelper
css::uno::Sequence< TYPE > aContainer;
bool bSuccess = _rSequenceAny >>= aContainer;
OSL_ENSURE(bSuccess, "OSequenceIterator::OSequenceIterator: invalid Any!");
- (void)bSuccess;
construct(aContainer);
}