#c704126# fix off-by-one when parsing WW8_STD's fHidden member
According to the header file ww8struc.hxx the fHidden member is at bit 1 (cherry picked from commit a428571aeecd1acee1b2d5a80cd1d9978f25aeb7)
This commit is contained in:
committed by
Caolán McNamara
parent
1cdb939546
commit
7f47f5bd09
@@ -6060,7 +6060,7 @@ WW8_STD* WW8Style::Read1STDFixed( short& rSkip, short* pcbStd )
|
||||
a16Bit = 0;
|
||||
rSt >> a16Bit;
|
||||
pStd->fAutoRedef = a16Bit & 0x0001 ;
|
||||
pStd->fHidden = ( a16Bit & 0x0002 ) >> 2;
|
||||
pStd->fHidden = ( a16Bit & 0x0002 ) >> 1;
|
||||
|
||||
// man kann nie wissen: vorsichtshalber ueberlesen
|
||||
// wir eventuelle Fuellsel, die noch zum BASE-Part gehoeren...
|
||||
|
Reference in New Issue
Block a user