summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-27 23:38:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-28 13:53:35 +0100
commit694e2cbf9da8c0bef6a064d3a12e44c20a693784 (patch)
treee4f2c9114c3739cea590bd9be2006a257341c3d7 /tools/inc
parent46d1a28a2ed4ccfcbc8f6edaacd6e56f448dd4ea (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.hxx2
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.
*/