diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-07 00:49:34 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-07 01:44:46 -0500 |
commit | cdcd7b0898626b6b5f475f31bb19b55c4fd0c23b (patch) | |
tree | 5d3e2b1ddf0ea9961c2dfca978803a0ba74bcd43 /filter/source/config/cache | |
parent | 7e314a8331c91cce836237173bb9ba73edbd01c8 (diff) |
Temporarily disable deep-only detection phase.
In theory we shouldn't have to do this any more now that we do test
against all possible format types in the first pass. But let's test
if my theory is right...
Change-Id: I70d73a99aec56a66deaeb3f942fd2641a2cc7f48
Diffstat (limited to 'filter/source/config/cache')
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 50125b8904ca..aba091d6498c 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -426,6 +426,8 @@ void printFlatDetectionList(const char* caption, const FlatDetection& types) if (lFlatTypes.size()>0) sType = impl_detectTypeFlatAndDeep(stlDescriptor, lFlatTypes, bAllowDeep, lUsedDetectors, sLastChance); +#if 0 // In theory we should no longer need to do deep-only detection, but let's see if it works fine in real life... + //******************************************* // if no flat detected (nor preselected!) type could be // verified and no error occurred during creation of @@ -440,6 +442,7 @@ void printFlatDetectionList(const char* caption, const FlatDetection& types) stlDescriptor[comphelper::MediaDescriptor::PROP_DEEPDETECTION()] <<= sal_True; sType = impl_detectTypeDeepOnly(stlDescriptor, lUsedDetectors); } +#endif //******************************************* // flat detection failed |