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
8bc22aca
Kaydet (Commit)
8bc22aca
authored
Nis 10, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Zelle->Cell, Ergebnis->Result and bit of cleanup.
üst
65775b4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
excform.cxx
sc/source/filter/excel/excform.cxx
+14
-14
No files found.
sc/source/filter/excel/excform.cxx
Dosyayı görüntüle @
8bc22aca
...
...
@@ -120,25 +120,25 @@ void ImportExcel::Formula( const XclAddress& rXclPos,
if
(
GetAddressConverter
().
ConvertAddress
(
aScPos
,
rXclPos
,
GetCurrScTab
(),
true
)
)
{
// Formula will be read next, length in nFormLen
const
ScTokenArray
*
p
Ergebnis
=
0
;
sal_Bool
bConvert
;
const
ScTokenArray
*
p
Result
=
NULL
;
bool
bConvert
=
false
;
pFormConv
->
Reset
(
aScPos
);
if
(
bShrFmla
)
bConvert
=
!
pFormConv
->
GetShrFmla
(
p
Ergebnis
,
maStrm
,
nFormLen
);
bConvert
=
!
pFormConv
->
GetShrFmla
(
p
Result
,
maStrm
,
nFormLen
);
else
bConvert
=
sal_T
rue
;
bConvert
=
t
rue
;
if
(
bConvert
)
eErr
=
pFormConv
->
Convert
(
p
Ergebnis
,
maStrm
,
nFormLen
,
true
,
FT_CellFormula
);
eErr
=
pFormConv
->
Convert
(
p
Result
,
maStrm
,
nFormLen
,
true
,
FT_CellFormula
);
ScFormulaCell
*
pZelle
=
NULL
;
ScFormulaCell
*
pCell
=
NULL
;
if
(
pErgebnis
)
if
(
pResult
)
{
p
Zelle
=
new
ScFormulaCell
(
pD
,
aScPos
,
pErgebnis
);
pD
->
PutCell
(
aScPos
.
Col
(),
aScPos
.
Row
(),
aScPos
.
Tab
(),
p
Zelle
,
true
);
p
Cell
=
new
ScFormulaCell
(
pD
,
aScPos
,
pResult
);
pD
->
PutCell
(
aScPos
.
Col
(),
aScPos
.
Row
(),
aScPos
.
Tab
(),
p
Cell
,
true
);
}
else
{
...
...
@@ -148,16 +148,16 @@ void ImportExcel::Formula( const XclAddress& rXclPos,
if
(
eCellType
==
CELLTYPE_FORMULA
)
{
pD
->
GetCell
(
aScPos
.
Col
(),
aScPos
.
Row
(),
aScPos
.
Tab
(),
pBaseCell
);
p
Zelle
=
(
ScFormulaCell
*
)
pBaseCell
;
if
(
p
Zelle
)
p
Zelle
->
AddRecalcMode
(
RECALCMODE_ONLOAD_ONCE
);
p
Cell
=
(
ScFormulaCell
*
)
pBaseCell
;
if
(
p
Cell
)
p
Cell
->
AddRecalcMode
(
RECALCMODE_ONLOAD_ONCE
);
}
}
if
(
pZelle
)
if
(
pCell
)
{
if
(
eErr
!=
ConvOK
)
ExcelToSc
::
SetError
(
*
p
Zelle
,
eErr
);
ExcelToSc
::
SetError
(
*
p
Cell
,
eErr
);
(
void
)
rCurVal
;
}
...
...
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