summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-07-15 14:35:50 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-07-17 21:47:38 +0200
commit9af8964dd2cb048e328732ee6eb809b0da46a3ae (patch)
tree1f863b2e15beb4808cfb9c2aa6aeb0e651854cfb /io
parentcppu: remove unnecessary LOG_LIFECYCLE_* macros (diff)
downloadcore-9af8964dd2cb048e328732ee6eb809b0da46a3ae.tar.gz
core-9af8964dd2cb048e328732ee6eb809b0da46a3ae.zip
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 'io')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index 2beb825ed972..cb267c540791 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -288,13 +288,13 @@ sal_Int32 OTextInputStream::implReadNext()
nSourceCount += nSrcCvtBytes;
bool bCont = false;
- if( uiInfo & RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOSMALL )
+ if( uiInfo & RTL_TEXTTOUNICODE_INFO_DESTBUFFERTOOSMALL )
{
mvBuffer.resize(mvBuffer.size() * 2);
bCont = true;
}
- if( uiInfo & RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOSMALL )
+ if( uiInfo & RTL_TEXTTOUNICODE_INFO_SRCBUFFERTOOSMALL )
{
// read next byte
static Sequence< sal_Int8 > aOneByteSeq( 1 );