diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-15 14:35:50 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-07-17 21:47:38 +0200 |
commit | 9af8964dd2cb048e328732ee6eb809b0da46a3ae (patch) | |
tree | 1f863b2e15beb4808cfb9c2aa6aeb0e651854cfb /tools | |
parent | 2cbd4121685b5c2f2cfddea6775171aaee72a4c1 (diff) |
RTL_UNICODETOTEXT_INFO_{DEST|SCR}BUFFERTOSMALL should use TOO, not TO
I have kept the old mispelled constant for backwards compatibility
Change-Id: I128a2eec76d00cc5ef058cd6a0c35a7474d2411e
Reviewed-on: https://gerrit.libreoffice.org/39995
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index e3d405bfbce3..a398aa79e3ca 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -117,7 +117,7 @@ sal_Unicode * convertToUnicode(const sal_Char * pBegin, | RTL_TEXTTOUNICODE_FLAGS_MBUNDEFINED_ERROR | RTL_TEXTTOUNICODE_FLAGS_INVALID_ERROR, &nInfo, &nSrcCvtBytes); - if (nInfo != RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOSMALL) + if (nInfo != RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOOSMALL) break; delete[] pBuffer; rtl_resetTextToUnicodeContext(hConverter, hContext); |