From ee025b744ac9efafe7c083ed80f8e2cc7cb3e2c1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Jul 2018 13:56:25 +0200 Subject: loplugin:returnconstant in tools,comphelper,unotools Change-Id: Iabc3c67b4cdcd0344a37c533bf92dd00cd4700d8 Reviewed-on: https://gerrit.libreoffice.org/57974 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/logging.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index 55bfefef4bbe..c6863539a116 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -110,7 +110,7 @@ namespace comphelper } - bool EventLogger::impl_log( const sal_Int32 _nLogLevel, + void EventLogger::impl_log( const sal_Int32 _nLogLevel, const sal_Char* _pSourceClass, const sal_Char* _pSourceMethod, const OUString& _rMessage, const OptionalString& _rArgument1, const OptionalString& _rArgument2, const OptionalString& _rArgument3, const OptionalString& _rArgument4, @@ -157,8 +157,6 @@ namespace comphelper { OSL_FAIL( "EventLogger::impl_log: caught an exception!" ); } - - return false; } } // namespace comphelper -- cgit