summaryrefslogtreecommitdiff
path: root/tools/source/inet/inetstrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/inet/inetstrm.cxx')
-rw-r--r--tools/source/inet/inetstrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/inet/inetstrm.cxx b/tools/source/inet/inetstrm.cxx
index 37584d0ebed4..19db6ee5a76a 100644
--- a/tools/source/inet/inetstrm.cxx
+++ b/tools/source/inet/inetstrm.cxx
@@ -1573,7 +1573,7 @@ int INetMIMEMessageStream::PutMsgLine (const sal_Char *pData, sal_uIntPtr nSize)
* Single part message.
* Remove any ContentTransferEncoding.
*/
- if (pMsg->GetContentType().Len() == 0)
+ if (pMsg->GetContentType().isEmpty())
{
pMsg->SetContentType(pMsg->GetDefaultContentType());
}