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
71ed03b9
Kaydet (Commit)
71ed03b9
authored
Şub 14, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
assert if there is a wrong index, a warning is not enough
Change-Id: I5fe16f24fab0b0c29cb9acb279e13db499bd3d1c
üst
4eb7d128
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
conditio.cxx
sc/source/core/data/conditio.cxx
+2
-8
No files found.
sc/source/core/data/conditio.cxx
Dosyayı görüntüle @
71ed03b9
...
...
@@ -1271,6 +1271,7 @@ rtl::OUString ScConditionEntry::GetExpression( const ScAddress& rCursor, sal_uIn
sal_uLong
nNumFmt
,
const
FormulaGrammar
::
Grammar
eGrammar
)
const
{
assert
(
nIndex
<=
1
);
rtl
::
OUString
aRet
;
if
(
FormulaGrammar
::
isEnglish
(
eGrammar
)
&&
nNumFmt
==
0
)
...
...
@@ -1314,16 +1315,13 @@ rtl::OUString ScConditionEntry::GetExpression( const ScAddress& rCursor, sal_uIn
else
mpDoc
->
GetFormatTable
()
->
GetInputLineString
(
nVal2
,
nNumFmt
,
aRet
);
}
else
{
SAL_WARN
(
"sc"
,
"GetExpression: falscher Index"
);
}
return
aRet
;
}
ScTokenArray
*
ScConditionEntry
::
CreateTokenArry
(
sal_uInt16
nIndex
)
const
{
assert
(
nIndex
<=
1
);
ScTokenArray
*
pRet
=
NULL
;
ScAddress
aAddr
;
...
...
@@ -1353,10 +1351,6 @@ ScTokenArray* ScConditionEntry::CreateTokenArry( sal_uInt16 nIndex ) const
pRet
->
AddDouble
(
nVal2
);
}
}
else
{
SAL_WARN
(
"sc"
,
"GetExpression: falscher Index"
);
}
return
pRet
;
}
...
...
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