diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index e8b41474026e..5d0d07be49a4 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -403,12 +403,7 @@ void VBAEncryption::writeVersionEnc() sal_uInt8 VBAEncryption::calculateProjKey(const OUString& rProjectKey) { - sal_uInt32 nProjKey = 0; - // use sal_uInt32 instead of sal_uInt8 to avoid miscompilation at least - // under "Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 - // for x64" with --enable-64-bit and non-debug, causing - // CppunitTest_oox_vba_encryption's TestVbaEncryption::testProjKey1 to - // fail with actual 53 vs. expected 223 + sal_uInt8 nProjKey = 0; sal_Int32 n = rProjectKey.getLength(); const sal_Unicode* pString = rProjectKey.getStr(); for (sal_Int32 i = 0; i < n; ++i) |