diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-27 23:38:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-28 13:53:35 +0100 |
commit | 694e2cbf9da8c0bef6a064d3a12e44c20a693784 (patch) | |
tree | e4f2c9114c3739cea590bd9be2006a257341c3d7 /tools/inc | |
parent | 46d1a28a2ed4ccfcbc8f6edaacd6e56f448dd4ea (diff) |
There's no reason for GetDefaultContentType to be virtual
unroll the logic a bit to simplify the only relevant case and take advantage of
return optimization
Change-Id: I88537e83e8fc6785d3932fb4c591d62319682c9b
Diffstat (limited to 'tools/inc')
-rw-r--r-- | tools/inc/tools/inetmsg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/inc/tools/inetmsg.hxx b/tools/inc/tools/inetmsg.hxx index ef5dabdc0941..db94ca62f94f 100644 --- a/tools/inc/tools/inetmsg.hxx +++ b/tools/inc/tools/inetmsg.hxx @@ -500,7 +500,7 @@ public: return GetHeaderValue (m_nIndex[INETMSG_MIME_CONTENT_TRANSFER_ENCODING]); } - virtual void GetDefaultContentType (UniString& rContentType); + UniString GetDefaultContentType (); /** Message container methods. */ |