diff options
author | Noel Power <noel.power@novell.com> | 2011-10-21 10:51:10 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-10-21 11:07:38 +0100 |
commit | e3ef9bebf69479ead10a10a9a25d866321970edb (patch) | |
tree | 2dc615e3e97d9293708393236258b1daeef1d750 /oox | |
parent | Fix fdo#41995 fallout - recognize .svg in odf container (diff) | |
download | core-e3ef9bebf69479ead10a10a9a25d866321970edb.tar.gz core-e3ef9bebf69479ead10a10a9a25d866321970edb.zip |
tweak compressession hack to fix vba module import
it seems that the heuristic to trigger the inflate hack from frob is both wrong in the code ( my fault ) and additionally doesn't always hold true ( found a document where the heuristic is triggered falsely ) So. removing that heuristic entirely for now
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbainputstream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/vbainputstream.cxx b/oox/source/ole/vbainputstream.cxx index 8b054ea707dc..5299b7e98d38 100644 --- a/oox/source/ole/vbainputstream.cxx +++ b/oox/source/ole/vbainputstream.cxx @@ -147,7 +147,7 @@ bool VbaInputStream::updateChunk() // start of the next chunk we can read those strange broken // ( I guess from a MSO bug ) commpessed streams > 4k - if ( bIgnoreBrokenSig || ( ! ( mpInStrm->getRemaining() < 4096 ) ) ) + if ( bIgnoreBrokenSig ) { bCompressed = true; nChunkLen = 4094; |