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
b9a51c0b
Kaydet (Commit)
b9a51c0b
authored
Şub 21, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
assert "can't happen"
Change-Id: I896e29b04568b351517612a1ac161dca5717dfbc
üst
92877608
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
interpr2.cxx
sc/source/core/tool/interpr2.cxx
+7
-0
No files found.
sc/source/core/tool/interpr2.cxx
Dosyayı görüntüle @
b9a51c0b
...
...
@@ -2575,6 +2575,9 @@ void ScInterpreter::ScRoman()
if
(
(
nDigit
%
5
)
==
4
)
{
// assert can't happen with nVal<4000 precondition
assert
(
((
nDigit
==
4
)
?
(
nIndex
>=
1
)
:
(
nIndex
>=
2
)));
sal_uInt16
nIndex2
=
(
nDigit
==
4
)
?
nIndex
-
1
:
nIndex
-
2
;
sal_uInt16
nSteps
=
0
;
while
(
(
nSteps
<
nMode
)
&&
(
nIndex
<
nMaxIndex
)
)
...
...
@@ -2593,7 +2596,11 @@ void ScInterpreter::ScRoman()
else
{
if
(
nDigit
>
4
)
{
// assert can't happen with nVal<4000 precondition
assert
(
nIndex
>=
1
);
aRoman
+=
pChars
[
nIndex
-
1
];
}
sal_Int32
nPad
=
nDigit
%
5
;
if
(
nPad
)
{
...
...
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