diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 15:30:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-17 16:57:37 +0200 |
commit | ade5624f31233ce2369660f44d8f62bb4e8a6aea (patch) | |
tree | 7dd4597c3bd978d55559bdeccecab45a39ccda88 /tools | |
parent | bfff96fec8735d62c6655f1f423a3eefb2306ef9 (diff) |
All INetMIMEOutputSink instances use same fixed ctor arg values
Change-Id: I49126732be307b80270843c147d9cce4b3fdd2a3
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 6 | ||||
-rw-r--r-- | tools/source/inet/inetmsg.cxx | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index bf22a5297aff..dbc693ac8583 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -861,8 +861,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin, } if (pParameters) { - INetMIMEOutputSink - aSink(0, INetMIMEOutputSink::NO_LINE_LENGTH_LIMIT); + INetMIMEOutputSink aSink; while (p != pEnd) { sal_uInt32 nChar = INetMIME::getUTF32Character(p, pEnd); @@ -890,8 +889,7 @@ sal_Unicode const * INetMIME::scanParameters(sal_Unicode const * pBegin, else if (p != pEnd && *p == '"') if (pParameters) { - INetMIMEOutputSink - aSink(0, INetMIMEOutputSink::NO_LINE_LENGTH_LIMIT); + INetMIMEOutputSink aSink; bool bInvalid = false; for (++p;;) { diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx index 3bb93336e1f4..188dd1a3bc6c 100644 --- a/tools/source/inet/inetmsg.cxx +++ b/tools/source/inet/inetmsg.cxx @@ -46,7 +46,7 @@ void INetMIMEMessage::SetHeaderField_Impl ( const OUString &rValue, sal_uIntPtr &rnIndex) { - INetMIMEOutputSink aSink(0, INetMIMEOutputSink::NO_LINE_LENGTH_LIMIT); + INetMIMEOutputSink aSink; INetMIME::writeHeaderFieldBody ( aSink, eType, rValue, osl_getThreadTextEncoding(), false); SetHeaderField_Impl ( |