From d0a271e9ea476d627de7e4d15dc490574d3afeba Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Apr 2016 17:21:19 +0200 Subject: loplugin:salbool: Automatic rewrite of sal_False/True Change-Id: I94b3d976bd6d4cd3ce918668a5a921857675b6c9 --- include/vbahelper/vbahelperinterface.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index d72200771350..7e1b5f3b75b6 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -87,8 +87,8 @@ public: const OUString* pEnd = pStart + sServices.getLength(); for ( ; pStart != pEnd ; ++pStart ) if ( (*pStart).equals( ServiceName ) ) - return sal_True; - return sal_False; + return true; + return false; } virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException) override { -- cgit