summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mailmergehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/mailmergehelper.cxx')
-rw-r--r--sw/source/ui/dbui/mailmergehelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/mailmergehelper.cxx b/sw/source/ui/dbui/mailmergehelper.cxx
index fb7646c68774..97200ec5edd7 100644
--- a/sw/source/ui/dbui/mailmergehelper.cxx
+++ b/sw/source/ui/dbui/mailmergehelper.cxx
@@ -657,11 +657,11 @@ uno::Any SwConnectionContext::getValueByName( const OUString& rName )
throw (uno::RuntimeException)
{
uno::Any aRet;
- if( !rName.compareToAscii( "ServerName" ))
+ if( rName.equalsAscii( "ServerName" ))
aRet <<= m_sMailServer;
- else if( !rName.compareToAscii( "Port" ))
+ else if( rName.equalsAscii( "Port" ))
aRet <<= (sal_Int32) m_nPort;
- else if( !rName.compareToAscii( "ConnectionType" ))
+ else if( rName.equalsAscii( "ConnectionType" ))
aRet <<= m_sConnectionType;
return aRet;
}