diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-10-27 12:27:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-10-27 13:04:19 +0200 |
commit | a7cc5039769838924c7b07da0e7532d84f79d302 (patch) | |
tree | 27f7c94e8451497de96d6ffb96dedf759a9194ae /writerfilter | |
parent | writerfilter: make it easy to debug the old RTF filter (diff) | |
download | core-a7cc5039769838924c7b07da0e7532d84f79d302.tar.gz core-a7cc5039769838924c7b07da0e7532d84f79d302.zip |
ignore spaces while reading RTF image data
Change-Id: I6a1af0cd98ed832204d4485e135da6e56e575b4a
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 064c879c226e..66313f6a716a 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -610,7 +610,7 @@ int RTFDocumentImpl::resolvePict(bool bInline) for (int i = 0; i < aStr.getLength(); ++i) { char ch = str[i]; - if (ch != 0x0d && ch != 0x0a) + if (ch != 0x0d && ch != 0x0a && ch != 0x20) { b = b << 4; sal_Int8 parsed = m_pTokenizer->asHex(ch); |