You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2017/05/04 02:31:21 UTC
[tika] branch master updated: TIKA-2354 -- incorrectly skipping
many images
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 90cbe00 TIKA-2354 -- incorrectly skipping many images
90cbe00 is described below
commit 90cbe005ed901e1791716c8d7d67baecc3a54c56
Author: tballison <ta...@mitre.org>
AuthorDate: Wed May 3 22:31:11 2017 -0400
TIKA-2354 -- incorrectly skipping many images
---
.../src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
index cc961f7..8cb6106 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
@@ -665,7 +665,7 @@ public class WordExtractor extends AbstractPOIFSExtractor {
*/
private boolean isRendered(final CharacterRun cr) {
if (cr == null) {
- return false;
+ return true;
}
return !cr.isMarkedDeleted() ||
(cr.isMarkedDeleted() && officeParserConfig.getIncludeDeletedContent());
--
To stop receiving notification emails like this one, please contact
['"commits@tika.apache.org" <co...@tika.apache.org>'].