summaryrefslogtreecommitdiff
path: root/writerfilter/source/rtftok/rtfdocumentimpl.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-02-24 09:28:52 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-14 12:37:16 +0100
commit0eb78df103eaf77b0ae1d4cec9deca159f026e7c (patch)
tree7fb52949463ebc435f3b4ffca4fc846d2c8f696b /writerfilter/source/rtftok/rtfdocumentimpl.cxx
parent18e89ea669afa9e908c1aaaa0f10ca1e2273e470 (diff)
vcl PDF import: there is no PNG encoding here
It was a copy&paste error from xmlsecurity/workben/pdfverify.cxx, which does PNG encoding. Change-Id: I7b5108a7cddffdc859276b656a6e1168f23d3863 (cherry picked from commit 89e339fc1937b7de0d0e1f4ced802db7b4a68a9b)
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.cxx')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 07ecb5fd5c2c..9243e6da0f24 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1117,7 +1117,7 @@ RTFError RTFDocumentImpl::resolveChars(char ch)
{
// note: apparently \'0d\'0a is interpreted as 2 breaks, not 1
if (m_aStates.top().eDestination != Destination::DOCCOMM
- && (ch == '\r' || ch == '\n'))
+ && (ch == '\r' || ch == '\n'))
{
checkUnicode(/*bUnicode =*/ false, /*bHex =*/ true);
dispatchSymbol(RTF_PAR);