summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:19:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:24 +0200
commit982a2c06a9048890115e2c517336d278cf278ba8 (patch)
tree01b5b68225fb15bd46af0327704e0a4f8777b1af /shell
parenta8884ad99c491624d776a4a21f06e6453f71b25a (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I97f0ed6c3f4fa36523b6ecc05ab8b4e79a3a3c91
Diffstat (limited to 'shell')
-rw-r--r--shell/source/cmdmail/cmdmailmsg.cxx16
1 files changed, 8 insertions, 8 deletions
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( )