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
9f12a629
Kaydet (Commit)
9f12a629
authored
Ock 04, 2010
tarafından
Niklas Nebel
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i108005# build token array for goal seek with value instead of string token
üst
a15b7f80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
documen4.cxx
sc/source/core/data/documen4.cxx
+8
-4
No files found.
sc/source/core/data/documen4.cxx
Dosyayı görüntüle @
9f12a629
...
@@ -76,9 +76,13 @@ BOOL ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
...
@@ -76,9 +76,13 @@ BOOL ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
CellType
eFType
,
eVType
;
CellType
eFType
,
eVType
;
GetCellType
(
nFCol
,
nFRow
,
nFTab
,
eFType
);
GetCellType
(
nFCol
,
nFRow
,
nFTab
,
eFType
);
GetCellType
(
nVCol
,
nVRow
,
nVTab
,
eVType
);
GetCellType
(
nVCol
,
nVRow
,
nVTab
,
eVType
);
// CELLTYPE_NOTE: kein Value aber von Formel referiert
// CELLTYPE_NOTE: no value, but referenced by formula
if
(
eFType
==
CELLTYPE_FORMULA
&&
(
eVType
==
CELLTYPE_VALUE
// #i108005# convert target value to number using default format,
||
eVType
==
CELLTYPE_NOTE
)
)
// as previously done in ScInterpreter::GetDouble
double
nTargetVal
=
0.0
;
sal_uInt32
nFIndex
=
0
;
if
(
eFType
==
CELLTYPE_FORMULA
&&
(
eVType
==
CELLTYPE_VALUE
||
eVType
==
CELLTYPE_NOTE
)
&&
GetFormatTable
()
->
IsNumberFormat
(
sValStr
,
nFIndex
,
nTargetVal
))
{
{
ScSingleRefData
aRefData
;
ScSingleRefData
aRefData
;
aRefData
.
InitFlags
();
aRefData
.
InitFlags
();
...
@@ -98,7 +102,7 @@ BOOL ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
...
@@ -98,7 +102,7 @@ BOOL ScDocument::Solver(SCCOL nFCol, SCROW nFRow, SCTAB nFTab,
aArr
.
AddSingleReference
(
aRefData
);
aArr
.
AddSingleReference
(
aRefData
);
aArr
.
AddOpCode
(
ocSep
);
aArr
.
AddOpCode
(
ocSep
);
aArr
.
Add
String
(
sValStr
.
GetBuffer
()
);
aArr
.
Add
Double
(
nTargetVal
);
aArr
.
AddOpCode
(
ocClose
);
aArr
.
AddOpCode
(
ocClose
);
aArr
.
AddOpCode
(
ocStop
);
aArr
.
AddOpCode
(
ocStop
);
...
...
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