diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-24 09:28:52 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-14 12:37:16 +0100 |
commit | 0eb78df103eaf77b0ae1d4cec9deca159f026e7c (patch) | |
tree | 7fb52949463ebc435f3b4ffca4fc846d2c8f696b /writerfilter | |
parent | 18e89ea669afa9e908c1aaaa0f10ca1e2273e470 (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')
-rw-r--r-- | writerfilter/source/rtftok/rtfdispatchflag.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtfdispatchflag.cxx b/writerfilter/source/rtftok/rtfdispatchflag.cxx index 18eac503c0eb..0596929196c8 100644 --- a/writerfilter/source/rtftok/rtfdispatchflag.cxx +++ b/writerfilter/source/rtftok/rtfdispatchflag.cxx @@ -1071,7 +1071,7 @@ RTFError RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) break; case RTF_HTMAUTSP: m_aSettingsTableSprms.set(NS_ooxml::LN_CT_Compat_doNotUseHTMLParagraphAutoSpacing, std::make_shared<RTFValue>(0)); - break; + break; default: { SAL_INFO("writerfilter", "TODO handle flag '" << keywordToString(nKeyword) << "'"); 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); |