Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e58f9cad
Kaydet (Commit)
e58f9cad
authored
Eki 19, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around what looks like MSVC 2013 miscompilation
Change-Id: Ic2ed1b00d9d29f004f1e3cd60af863d6aafc7188
üst
96dae4ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vbaexport.cxx
oox/source/ole/vbaexport.cxx
+6
-1
No files found.
oox/source/ole/vbaexport.cxx
Dosyayı görüntüle @
e58f9cad
...
@@ -410,7 +410,12 @@ void VBAEncryption::writeVersionEnc()
...
@@ -410,7 +410,12 @@ void VBAEncryption::writeVersionEnc()
sal_uInt8
VBAEncryption
::
calculateProjKey
(
const
OUString
&
rProjectKey
)
sal_uInt8
VBAEncryption
::
calculateProjKey
(
const
OUString
&
rProjectKey
)
{
{
sal_uInt8
nProjKey
=
0
;
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 --enable-dbgutil, causing
// CppunitTest_oox_vba_encryption's TestVbaEncryption::testProjKey1 to
// fail with actual 53 vs. expected 223
sal_Int32
n
=
rProjectKey
.
getLength
();
sal_Int32
n
=
rProjectKey
.
getLength
();
const
sal_Unicode
*
pString
=
rProjectKey
.
getStr
();
const
sal_Unicode
*
pString
=
rProjectKey
.
getStr
();
for
(
sal_Int32
i
=
0
;
i
<
n
;
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
n
;
++
i
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment