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
9ccdd3f9
Kaydet (Commit)
9ccdd3f9
authored
Eki 27, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use LocaleDataWrapper::stringToDouble() in ScDoubleField::GetValue, tdf#81671
Change-Id: I7ce956a6a08b9b5befd100e2b0030fc2d4787749
üst
7616e1c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
editfield.cxx
sc/source/ui/cctrl/editfield.cxx
+1
-6
No files found.
sc/source/ui/cctrl/editfield.cxx
Dosyayı görüntüle @
9ccdd3f9
...
...
@@ -34,11 +34,6 @@ sal_Unicode lclGetDecSep()
return
ScGlobal
::
GetpLocaleData
()
->
getNumDecimalSep
()[
0
];
}
sal_Unicode
lclGetGroupSep
()
{
return
ScGlobal
::
GetpLocaleData
()
->
getNumThousandSep
()[
0
];
}
}
// namespace
ScDoubleField
::
ScDoubleField
(
vcl
::
Window
*
pParent
,
WinBits
nStyle
)
:
...
...
@@ -60,7 +55,7 @@ bool ScDoubleField::GetValue( double& rfValue ) const
{
rtl_math_ConversionStatus
eStatus
;
sal_Int32
nEnd
;
rfValue
=
rtl
::
math
::
stringToDouble
(
aStr
,
lclGetDecSep
(),
lclGetGroupSep
()
,
&
eStatus
,
&
nEnd
);
rfValue
=
ScGlobal
::
GetpLocaleData
()
->
stringToDouble
(
aStr
,
true
,
&
eStatus
,
&
nEnd
);
bOk
=
(
eStatus
==
rtl_math_ConversionStatus_Ok
)
&&
(
nEnd
==
aStr
.
getLength
()
);
}
return
bOk
;
...
...
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