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
5f86b4be
Kaydet (Commit)
5f86b4be
authored
Haz 26, 2012
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added mnStringNoValueError handling to ConvertStringToValue()
Change-Id: I05c2ddc0ebde6675e9f98722c4feb1ed49670dee
üst
4a9c85b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
interpr4.cxx
sc/source/core/tool/interpr4.cxx
+7
-1
No files found.
sc/source/core/tool/interpr4.cxx
Dosyayı görüntüle @
5f86b4be
...
@@ -237,10 +237,16 @@ double ScInterpreter::ConvertStringToValue( const String& rStr )
...
@@ -237,10 +237,16 @@ double ScInterpreter::ConvertStringToValue( const String& rStr )
// We keep this code until we provide a friendly way to convert string
// We keep this code until we provide a friendly way to convert string
// numbers into numbers in the UI.
// numbers into numbers in the UI.
double
fValue
=
0.0
;
double
fValue
=
0.0
;
if
(
mnStringNoValueError
==
errCellNoValue
)
{
// Requested that all strings result in 0, error handled by caller.
SetError
(
mnStringNoValueError
);
return
fValue
;
}
sal_uInt32
nFIndex
=
0
;
sal_uInt32
nFIndex
=
0
;
if
(
!
pFormatter
->
IsNumberFormat
(
rStr
,
nFIndex
,
fValue
))
if
(
!
pFormatter
->
IsNumberFormat
(
rStr
,
nFIndex
,
fValue
))
{
{
SetError
(
errNoValue
);
SetError
(
mnStringNoValueError
);
fValue
=
0.0
;
fValue
=
0.0
;
}
}
return
fValue
;
return
fValue
;
...
...
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