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
d6b10909
Kaydet (Commit)
d6b10909
authored
May 07, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bail out for error cells early
Change-Id: I36581f3b735008dbba6eea5808da654eb8b279e3
üst
64223bda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
xestream.cxx
sc/source/filter/excel/xestream.cxx
+11
-11
No files found.
sc/source/filter/excel/xestream.cxx
Dosyayı görüntüle @
d6b10909
...
@@ -674,22 +674,22 @@ static const char* lcl_GetErrorString( sal_uInt16 nScErrCode )
...
@@ -674,22 +674,22 @@ static const char* lcl_GetErrorString( sal_uInt16 nScErrCode )
void
XclXmlUtils
::
GetFormulaTypeAndValue
(
ScFormulaCell
&
rCell
,
const
char
*&
rsType
,
OUString
&
rsValue
)
void
XclXmlUtils
::
GetFormulaTypeAndValue
(
ScFormulaCell
&
rCell
,
const
char
*&
rsType
,
OUString
&
rsValue
)
{
{
sal_uInt16
nScErrCode
=
rCell
.
GetErrCode
();
if
(
nScErrCode
)
{
rsType
=
"e"
;
rsValue
=
ToOUString
(
lcl_GetErrorString
(
nScErrCode
)
);
return
;
}
switch
(
rCell
.
GetFormatType
()
)
switch
(
rCell
.
GetFormatType
()
)
{
{
case
NUMBERFORMAT_NUMBER
:
case
NUMBERFORMAT_NUMBER
:
{
{
// either value or error code
// either value or error code
sal_uInt16
nScErrCode
=
rCell
.
GetErrCode
();
rsType
=
"n"
;
if
(
nScErrCode
)
rsValue
=
OUString
::
valueOf
(
rCell
.
GetValue
()
);
{
rsType
=
"e"
;
rsValue
=
ToOUString
(
lcl_GetErrorString
(
nScErrCode
)
);
}
else
{
rsType
=
"n"
;
rsValue
=
OUString
::
valueOf
(
rCell
.
GetValue
()
);
}
}
}
break
;
break
;
...
...
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