summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-10-21 10:51:10 +0100
committerNoel Power <noel.power@novell.com>2011-10-21 11:07:38 +0100
commite3ef9bebf69479ead10a10a9a25d866321970edb (patch)
tree2dc615e3e97d9293708393236258b1daeef1d750 /oox/source
parentf3c43171f8e9e04c4a6e6f5833fbe1a0ef098d2b (diff)
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/source')
-rw-r--r--oox/source/ole/vbainputstream.cxx2
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;