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
3757128f
Kaydet (Commit)
3757128f
authored
Eki 29, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
variable can never be NULL in this place
Change-Id: I806a5ce53f1f290d6e37fe4afdd574b52b98fcce
üst
0865c446
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
column3.cxx
sc/source/core/data/column3.cxx
+4
-8
No files found.
sc/source/core/data/column3.cxx
Dosyayı görüntüle @
3757128f
...
...
@@ -1542,13 +1542,10 @@ bool ScColumn::ParseString(
if
(
!
aParam
.
mpNumFormatter
->
IsNumberFormat
(
rString
,
nIndex
,
nVal
))
break
;
if
(
aParam
.
mpNumFormatter
)
{
// convert back to the original language if a built-in format was detected
const
SvNumberformat
*
pOldFormat
=
aParam
.
mpNumFormatter
->
GetEntry
(
nOldIndex
);
if
(
pOldFormat
)
nIndex
=
aParam
.
mpNumFormatter
->
GetFormatForLanguageIfBuiltIn
(
nIndex
,
pOldFormat
->
GetLanguage
()
);
}
// convert back to the original language if a built-in format was detected
const
SvNumberformat
*
pOldFormat
=
aParam
.
mpNumFormatter
->
GetEntry
(
nOldIndex
);
if
(
pOldFormat
)
nIndex
=
aParam
.
mpNumFormatter
->
GetFormatForLanguageIfBuiltIn
(
nIndex
,
pOldFormat
->
GetLanguage
()
);
rCell
.
set
(
nVal
);
if
(
nIndex
!=
nOldIndex
)
...
...
@@ -1558,7 +1555,6 @@ bool ScColumn::ParseString(
// Exception: If the new format is boolean, always apply it.
bool
bOverwrite
=
false
;
const
SvNumberformat
*
pOldFormat
=
aParam
.
mpNumFormatter
->
GetEntry
(
nOldIndex
);
if
(
pOldFormat
)
{
short
nOldType
=
pOldFormat
->
GetType
()
&
~
NUMBERFORMAT_DEFINED
;
...
...
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