diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-10 12:22:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-10 23:04:33 +0200 |
commit | a7b38dcf930a4f6b7dccfbf44bea5bf763e17cdc (patch) | |
tree | ec479c5ff16d6c8ed106bd7bd9b58fd3bd76ce08 /tools | |
parent | 350b9e36afb764661266ec8850488c6b23471de3 (diff) |
Check for "multipart/" prefix
...instead of full-string compare; regression introduced with
c4927a1b76b728b2208c29d09dbf54e70bb26e13 "ByteString->rtl::OString[Buffer]"
erroneously replacing a call to ByteString::CompareIgnoreCaseToAscii(s,n) with a
call to OString::equalsIgnoreAsciiCase(s,n).
Change-Id: I473e3403910e22e43d7350afa88f9a8e103ebf1d
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmsg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx index ec57d494a049..0a8b84df22a0 100644 --- a/tools/source/inet/inetmsg.cxx +++ b/tools/source/inet/inetmsg.cxx @@ -843,7 +843,7 @@ bool INetMIMEMessage::EnableAttachChild (INetMessageContainerType eType) } // Setup boundary for multipart types. - if (aContentType.toString().equalsIgnoreAsciiCase("multipart/")) + if (aContentType.toString().startsWithIgnoreAsciiCase("multipart/")) { // Generate a unique boundary from current time. sal_Char sTail[16 + 1]; |