diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-07 09:49:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-07 10:43:55 +0100 |
commit | a47d1a47184e84755f0f28300a1e477b2a6c1176 (patch) | |
tree | ddaf024ec676bb1b290317c7bee99ce38aaaa707 /svtools | |
parent | 35dce8716bcc60b967e704564a30e2110167ad58 (diff) |
might as well rearrange these flushes to all look the same
no logic change intended
Change-Id: I0f2552ad604d83eea46822aba137cc780c3be60a
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index aa30af1c6fc7..7a0df72542e2 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -486,11 +486,11 @@ static OString lcl_FlushToAscii( HTMLOutContext& rContext ) const sal_uInt32 nFlags = RTL_UNICODETOTEXT_FLAGS_NONSPACING_IGNORE| RTL_UNICODETOTEXT_FLAGS_CONTROL_IGNORE| RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR| - RTL_UNICODETOTEXT_FLAGS_FLUSH| RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR; sal_Size nLen = rtl_convertUnicodeToText( rContext.m_hConv, rContext.m_hContext, nullptr, 0, - cBuffer, TXTCONV_BUFFER_SIZE, nFlags, + cBuffer, TXTCONV_BUFFER_SIZE, + nFlags|RTL_UNICODETOTEXT_FLAGS_FLUSH, &nInfo, &nSrcChars ); DBG_ASSERT( (nInfo & (RTL_UNICODETOTEXT_INFO_ERROR|RTL_UNICODETOTEXT_INFO_DESTBUFFERTOSMALL)) == 0, "HTMLOut: error while flushing" ); sal_Char *pBuffer = cBuffer; |