Kaydet (Commit) 7168f6b2 authored tarafından Rosemary's avatar Rosemary Kaydeden (comit) Markus Mohrhard

The correct size of length is 4

Change-Id: I8735e68e1094e40f989ebc0a8a3926c9e2f06fd4
üst e5f1bba2
......@@ -424,7 +424,7 @@ void VBAEncryption::writeIgnoredEnc()
void VBAEncryption::writeDataLengthEnc()
{
sal_uInt16 temp = mnLength;
for(sal_Int8 i = 0; i < 2; ++i)
for(sal_Int8 i = 0; i < 4; ++i)
{
sal_uInt8 nByte = temp & 0xFF;
sal_uInt8 nByteEnc = nByte ^ (mnEncryptedByte2 + mnUnencryptedByte1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment