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 /sal/osl | |
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 'sal/osl')
-rw-r--r-- | sal/osl/unx/file_url.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx index 865021bce770..4e8c7f445da6 100644 --- a/sal/osl/unx/file_url.cxx +++ b/sal/osl/unx/file_url.cxx @@ -818,7 +818,7 @@ int TextToUnicode( text, text_buffer_size, unic_text, unic_text_buffer_size, OSTRING_TO_OUSTRING_CVTFLAGS | RTL_TEXTTOUNICODE_FLAGS_FLUSH, &nInfo, &nSrcChars); - if (nInfo & RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOSMALL) + if (nInfo & RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOOSMALL) { errno = EOVERFLOW; return 0; |