summaryrefslogtreecommitdiff
path: root/writerfilter/unocomponent/debugservices/ooxml
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-21 21:32:11 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-09-21 21:33:59 +0100
commitff300e59e74ee88aa6a4981b57a51af416c9e991 (patch)
treefd927304bd49c3bea36f63d1da892628c5ba3c60 /writerfilter/unocomponent/debugservices/ooxml
parent6ba1a664a94cfbfbc7c280b15cee35122710ff86 (diff)
fdo#49819 - allow slightly inconsistent docx files to be repaired
Diffstat (limited to 'writerfilter/unocomponent/debugservices/ooxml')
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx2
-rw-r--r--writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
index 7abb841a3707..b8fd2428b565 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService.cxx
@@ -173,7 +173,7 @@ sal_Int32 SAL_CALL AnalyzeService::run
{
ooxml::OOXMLStream::Pointer_t pDocStream =
ooxml::OOXMLDocumentFactory::createStream
- (xContext, xInputStream);
+ (xContext, xInputStream, false);
if (pDocStream.get() != NULL)
{
diff --git a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
index b6423f0cc4b7..4d1335b749bd 100644
--- a/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
+++ b/writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService.cxx
@@ -88,7 +88,7 @@ sal_Int32 SAL_CALL ScannerTestService::run( const uno::Sequence< OUString >& aAr
uno::Reference<io::XInputStream> xInputStream =
xFileAccess->openFileRead(absFileUrl);
ooxml::OOXMLStream::Pointer_t pDocStream =
- ooxml::OOXMLDocumentFactory::createStream(xContext, xInputStream);
+ ooxml::OOXMLDocumentFactory::createStream(xContext, xInputStream, false);
ooxml::OOXMLDocument::Pointer_t pDocument
(ooxml::OOXMLDocumentFactory::createDocument(pDocStream));