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
aaa0ead8
Kaydet (Commit)
aaa0ead8
authored
Kas 06, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Umgekehrte Polnische Notation is German for Reverse Polish Notation
Change-Id: I80480f963b643596ff1c0e93af3eaa6ffc63c9dd
üst
761959e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
conditio.cxx
sc/source/core/data/conditio.cxx
+1
-1
formulacell.cxx
sc/source/core/data/formulacell.cxx
+5
-5
No files found.
sc/source/core/data/conditio.cxx
Dosyayı görüntüle @
aaa0ead8
...
@@ -570,7 +570,7 @@ void ScConditionEntry::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt )
...
@@ -570,7 +570,7 @@ void ScConditionEntry::UpdateMoveTab( sc::RefUpdateMoveTabContext& rCxt )
static
bool
lcl_IsEqual
(
const
ScTokenArray
*
pArr1
,
const
ScTokenArray
*
pArr2
)
static
bool
lcl_IsEqual
(
const
ScTokenArray
*
pArr1
,
const
ScTokenArray
*
pArr2
)
{
{
// verglichen wird nur das nicht-
U
PN Array
// verglichen wird nur das nicht-
R
PN Array
if
(
pArr1
&&
pArr2
)
if
(
pArr1
&&
pArr2
)
{
{
...
...
sc/source/core/data/formulacell.cxx
Dosyayı görüntüle @
aaa0ead8
...
@@ -559,7 +559,7 @@ ScFormulaCell::ScFormulaCell(
...
@@ -559,7 +559,7 @@ ScFormulaCell::ScFormulaCell(
mbNeedsNumberFormat
(
false
),
mbNeedsNumberFormat
(
false
),
aPos
(
rPos
)
aPos
(
rPos
)
{
{
//
UPN-A
rray generation
//
RPN a
rray generation
if
(
pCode
->
GetLen
()
&&
!
pCode
->
GetCodeError
()
&&
!
pCode
->
GetCodeLen
()
)
if
(
pCode
->
GetLen
()
&&
!
pCode
->
GetCodeError
()
&&
!
pCode
->
GetCodeLen
()
)
{
{
ScCompiler
aComp
(
pDocument
,
aPos
,
*
pCode
);
ScCompiler
aComp
(
pDocument
,
aPos
,
*
pCode
);
...
@@ -995,7 +995,7 @@ void ScFormulaCell::CalcAfterLoad()
...
@@ -995,7 +995,7 @@ void ScFormulaCell::CalcAfterLoad()
bDirty
=
true
;
bDirty
=
true
;
bNewCompiled
=
true
;
bNewCompiled
=
true
;
}
}
// The
U
PN array is not created when a Calc 3.0-Doc has been read as the Range Names exist until now.
// The
R
PN array is not created when a Calc 3.0-Doc has been read as the Range Names exist until now.
if
(
pCode
->
GetLen
()
&&
!
pCode
->
GetCodeLen
()
&&
!
pCode
->
GetCodeError
()
)
if
(
pCode
->
GetLen
()
&&
!
pCode
->
GetCodeLen
()
&&
!
pCode
->
GetCodeError
()
)
{
{
ScCompiler
aComp
(
pDocument
,
aPos
,
*
pCode
);
ScCompiler
aComp
(
pDocument
,
aPos
,
*
pCode
);
...
@@ -1312,7 +1312,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
...
@@ -1312,7 +1312,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
nSeenInIteration
=
pDocument
->
GetRecursionHelper
().
GetIteration
();
nSeenInIteration
=
pDocument
->
GetRecursionHelper
().
GetIteration
();
if
(
!
pCode
->
GetCodeLen
()
&&
!
pCode
->
GetCodeError
()
)
if
(
!
pCode
->
GetCodeLen
()
&&
!
pCode
->
GetCodeError
()
)
{
{
// #i11719# no
U
PN and no error and no token code but result string present
// #i11719# no
R
PN and no error and no token code but result string present
// => interpretation of this cell during name-compilation and unknown names
// => interpretation of this cell during name-compilation and unknown names
// => can't exchange underlying code array in CompileTokenArray() /
// => can't exchange underlying code array in CompileTokenArray() /
// Compile() because interpreter's token iterator would crash or pCode
// Compile() because interpreter's token iterator would crash or pCode
...
@@ -1326,7 +1326,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
...
@@ -1326,7 +1326,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
pCode
->
SetCodeError
(
errNoCode
);
pCode
->
SetCodeError
(
errNoCode
);
// This is worth an assertion; if encountered in daily work
// This is worth an assertion; if encountered in daily work
// documents we might need another solution. Or just confirm correctness.
// documents we might need another solution. Or just confirm correctness.
OSL_FAIL
(
"ScFormulaCell::Interpret: no
U
PN, no error, no token, but hybrid formula string"
);
OSL_FAIL
(
"ScFormulaCell::Interpret: no
R
PN, no error, no token, but hybrid formula string"
);
return
;
return
;
}
}
CompileTokenArray
();
CompileTokenArray
();
...
@@ -1593,7 +1593,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
...
@@ -1593,7 +1593,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
else
else
{
{
// Cells with compiler errors should not be marked dirty forever
// Cells with compiler errors should not be marked dirty forever
OSL_ENSURE
(
pCode
->
GetCodeError
(),
"no
UPN-C
ode und no errors ?!?!"
);
OSL_ENSURE
(
pCode
->
GetCodeError
(),
"no
RPN c
ode und no errors ?!?!"
);
bDirty
=
false
;
bDirty
=
false
;
bTableOpDirty
=
false
;
bTableOpDirty
=
false
;
}
}
...
...
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