Some cppcheck cleaning
Change-Id: I53ddb92d1fef3513536fa9a54bcedad35581f4aa
This commit is contained in:
@@ -663,7 +663,7 @@ void BluetoothServer::doRestoreDiscoverable()
|
||||
void BluetoothServer::cleanupCommunicators()
|
||||
{
|
||||
for (std::vector<Communicator *>::iterator it = mpCommunicators->begin();
|
||||
it != mpCommunicators->end(); it++)
|
||||
it != mpCommunicators->end(); ++it)
|
||||
(*it)->forceClose();
|
||||
// the hope is that all the threads then terminate cleanly and
|
||||
// clean themselves up.
|
||||
|
@@ -515,14 +515,13 @@ void SwSendMailDialog::SendMails()
|
||||
OSL_FAIL("config item not set");
|
||||
return;
|
||||
}
|
||||
bool bIsLoggedIn = false;
|
||||
EnterWait();
|
||||
//get a mail server connection
|
||||
uno::Reference< mail::XSmtpService > xSmtpServer =
|
||||
SwMailMergeHelper::ConnectToSmtpServer( *m_pConfigItem,
|
||||
m_pImpl->xConnectedInMailService,
|
||||
aEmptyStr, aEmptyStr, this );
|
||||
bIsLoggedIn = xSmtpServer.is() && xSmtpServer->isConnected();
|
||||
bool bIsLoggedIn = xSmtpServer.is() && xSmtpServer->isConnected();
|
||||
LeaveWait();
|
||||
if(!bIsLoggedIn)
|
||||
{
|
||||
|
Reference in New Issue
Block a user