From 982a2c06a9048890115e2c517336d278cf278ba8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 20 Apr 2016 17:19:34 +0200 Subject: loplugin:salbool: Automatic rewrite of sal_False/True Change-Id: I97f0ed6c3f4fa36523b6ecc05ab8b4e79a3a3c91 --- shell/source/cmdmail/cmdmailmsg.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'shell') diff --git a/shell/source/cmdmail/cmdmailmsg.cxx b/shell/source/cmdmail/cmdmailmsg.cxx index 5fd0da37a96b..9d6afa23d194 100644 --- a/shell/source/cmdmail/cmdmailmsg.cxx +++ b/shell/source/cmdmail/cmdmailmsg.cxx @@ -196,27 +196,27 @@ Sequence< OUString > SAL_CALL CmdMailMsg::getElementNames( ) MutexGuard aGuard( m_aMutex ); if( aName == "body" && !m_aBody.isEmpty() ) - return sal_True; + return true; if( aName == "from" && !m_aOriginator.isEmpty() ) - return sal_True; + return true; else if( aName == "to" && !m_aRecipient.isEmpty() ) - return sal_True; + return true; else if( aName == "cc" && m_CcRecipients.getLength() ) - return sal_True; + return true; else if( aName == "bcc" && m_BccRecipients.getLength() ) - return sal_True; + return true; else if( aName == "subject" && !m_aSubject.isEmpty() ) - return sal_True; + return true; else if( aName == "attachment" && m_Attachments.getLength() ) - return sal_True; + return true; - return sal_False; + return false; } Type SAL_CALL CmdMailMsg::getElementType( ) -- cgit v1.2.3