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
0ce0999f
Kaydet (Commit)
0ce0999f
authored
Eki 27, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Check decimalSeparatorAlternative in GetDefaultFormulaSeparators(), tdf#81671
Change-Id: Idf413d1e9db4f63bd90888f1dfc6a5d9455e47cb
üst
ca214981
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
formulaopt.cxx
sc/source/core/tool/formulaopt.cxx
+7
-1
No files found.
sc/source/core/tool/formulaopt.cxx
Dosyayı görüntüle @
0ce0999f
...
...
@@ -88,13 +88,19 @@ void ScFormulaOptions::GetDefaultFormulaSeparators(
sal_Unicode
cDecSep
=
rDecSep
[
0
];
sal_Unicode
cListSep
=
rListSep
[
0
];
sal_Unicode
cDecSepAlt
=
rLocaleData
.
getNumDecimalSepAlt
().
toChar
();
// usually 0 (empty)
// Excel by default uses system's list separator as the parameter
// separator, which in English locales is a comma. However, OOo's list
// separator value is set to ';' for all English locales. Because of this
// discrepancy, we will hardcode the separator value here, for now.
if
(
cDecSep
==
'.'
)
// Similar for decimal separator alternative.
// However, if the decimal separator alternative is '.' and the decimal
// separator is ',' this makes no sense, fall back to ';' in that case.
if
(
cDecSep
==
'.'
||
(
cDecSepAlt
==
'.'
&&
cDecSep
!=
','
))
cListSep
=
','
;
else
if
(
cDecSep
==
','
&&
cDecSepAlt
==
'.'
)
cListSep
=
';'
;
// Special case for de_CH locale.
if
(
rLocale
.
Language
==
"de"
&&
rLocale
.
Country
==
"CH"
)
...
...
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