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
73472482
Kaydet (Commit)
73472482
authored
Şub 15, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: unreadVariable
Change-Id: I15f0320b646d20f0093c77286c1ff2715aacb8ce
üst
f3f67b77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
22 deletions
+20
-22
sbxmod.cxx
basic/source/classes/sbxmod.cxx
+20
-22
No files found.
basic/source/classes/sbxmod.cxx
Dosyayı görüntüle @
73472482
...
@@ -1790,31 +1790,29 @@ bool SbModule::HasExeCode()
...
@@ -1790,31 +1790,29 @@ bool SbModule::HasExeCode()
// Store only image, no source
// Store only image, no source
void
SbModule
::
StoreBinaryData
(
SvStream
&
rStrm
,
sal_uInt16
nVer
)
void
SbModule
::
StoreBinaryData
(
SvStream
&
rStrm
,
sal_uInt16
nVer
)
{
{
bool
bRet
=
Compile
();
if
(
!
Compile
())
if
(
bRet
)
return
;
{
bool
bFixup
=
(
!
nVer
&&
!
pImage
->
ExceedsLegacyLimits
()
);
// save in old image format, fix up method starts
bool
bFixup
=
(
!
nVer
&&
!
pImage
->
ExceedsLegacyLimits
()
);
// save in old image format, fix up method starts
if
(
bFixup
)
// save in old image format, fix up method starts
if
(
bFixup
)
// save in old image format, fix up method starts
fixUpMethodStart
(
true
);
fixUpMethodStart
(
true
);
bRet
=
SbxObject
::
StoreData
(
rStrm
);
if
(
bRet
)
{
(
pImage
->
aOUSource
).
clear
();
pImage
->
aComment
=
aComment
;
pImage
->
aName
=
GetName
();
rStrm
.
WriteUChar
(
1
);
if
(
!
SbxObject
::
StoreData
(
rStrm
))
if
(
nVer
)
return
;
bRet
=
pImage
->
Save
(
rStrm
);
else
bRet
=
pImage
->
Save
(
rStrm
,
B_LEGACYVERSION
);
if
(
bFixup
)
fixUpMethodStart
(
false
);
// restore method starts
pImage
->
aOUSource
=
aOUSource
;
pImage
->
aOUSource
.
clear
();
}
pImage
->
aComment
=
aComment
;
}
pImage
->
aName
=
GetName
();
rStrm
.
WriteUChar
(
1
);
if
(
nVer
)
pImage
->
Save
(
rStrm
);
else
pImage
->
Save
(
rStrm
,
B_LEGACYVERSION
);
if
(
bFixup
)
fixUpMethodStart
(
false
);
// restore method starts
pImage
->
aOUSource
=
aOUSource
;
}
}
// Called for >= OO 1.0 passwd protected libraries only
// Called for >= OO 1.0 passwd protected libraries only
...
...
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