summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/excimp8.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-08 11:34:49 +0200
committerEike Rathke <erack@redhat.com>2014-04-08 11:54:34 +0200
commit5bce64e4759ee3bd98d34b70d02f9b54550a53ed (patch)
tree2f098828a10b0627bd642904b7d39444cff0d538 /sc/source/filter/excel/excimp8.cxx
parenta65e9fd24d905d03cd77551f2d6c9b2efa18fff6 (diff)
bit 0 is bit 0
They say they use big-endian bit diagrams, but just to confuse you. Change-Id: I7fd6bb58c721f1dca2f6ecbaae90d516746762f0
Diffstat (limited to 'sc/source/filter/excel/excimp8.cxx')
-rw-r--r--sc/source/filter/excel/excimp8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 8209a86bb8d4..fd8e221986f0 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -371,7 +371,7 @@ void ImportExcel8::Feat( void )
aProt.mnAreserved = aIn.ReaduInt32();
aProt.mnPasswordVerifier = aIn.ReaduInt32();
aProt.maTitle = aIn.ReadUniString();
- if ((aProt.mnAreserved & 0x80000000) == 0x80000000)
+ if ((aProt.mnAreserved & 0x00000001) == 0x00000001)
{
sal_uInt32 nCbSD = aIn.ReaduInt32();
// TODO: could here be some sanity check applied to not allocate 4GB?