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
de798580
Kaydet (Commit)
de798580
authored
Ock 24, 2013
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
a few more fixes for cached value import
Change-Id: I2b6baedc8232811df1e5525bd2884b54db5a8f70
üst
0ffe214c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
cell.cxx
sc/source/core/data/cell.cxx
+2
-2
formularesult.cxx
sc/source/core/tool/formularesult.cxx
+7
-0
xmlcelli.cxx
sc/source/filter/xml/xmlcelli.cxx
+1
-1
docsh.cxx
sc/source/ui/docshell/docsh.cxx
+3
-1
No files found.
sc/source/core/data/cell.cxx
Dosyayı görüntüle @
de798580
...
...
@@ -1587,7 +1587,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
}
else
{
if
(
eOld
==
svHybridCell
)
// string result from SetFormulaResultString?
if
(
eOld
==
svHybridCell
||
eOld
==
svHybridValueCell
)
// string result from SetFormulaResultString?
eOld
=
svString
;
// ScHybridCellToken has a valid GetString method
// #i106045# use approxEqual to compare with stored value
...
...
@@ -1612,7 +1612,7 @@ void ScFormulaCell::InterpretTail( ScInterpretTailParameter eTailParam )
if
(
bChanged
&&
!
bContentChanged
&&
pDocument
->
IsStreamValid
(
aPos
.
Tab
())
)
{
if
(
(
eOld
==
svUnknown
&&
(
eNew
==
svError
||
(
eNew
==
svDouble
&&
aNewResult
.
GetDouble
()
==
0.0
)
)
)
||
(
eOld
==
svHybridCell
&&
eNew
==
svString
&&
aResult
.
GetString
()
==
aNewResult
.
GetString
()
)
||
(
(
eOld
==
svHybridCell
||
eOld
==
svHybridValueCell
)
&&
eNew
==
svString
&&
aResult
.
GetString
()
==
aNewResult
.
GetString
()
)
||
(
eOld
==
svDouble
&&
eNew
==
svDouble
&&
rtl
::
math
::
approxEqual
(
aResult
.
GetDouble
(),
aNewResult
.
GetDouble
()
)
)
)
{
// no change, see above
...
...
sc/source/core/tool/formularesult.cxx
Dosyayı görüntüle @
de798580
...
...
@@ -448,9 +448,16 @@ void ScFormulaResult::SetHybridFormula( const String & rFormula )
void
ScFormulaResult
::
SetHybridValueString
(
double
nVal
,
const
OUString
&
rStr
)
{
if
(
GetType
()
==
formula
::
svMatrixCell
)
{
SetDouble
(
nVal
);
return
;
}
ResetToDefaults
();
if
(
mbToken
&&
mpToken
)
mpToken
->
DecRef
();
mpToken
=
new
ScHybridValueCellToken
(
nVal
,
rStr
);
mpToken
->
IncRef
();
mbToken
=
true
;
...
...
sc/source/filter/xml/xmlcelli.cxx
Dosyayı görüntüle @
de798580
...
...
@@ -352,7 +352,7 @@ SvXMLImportContext *ScXMLTableRowCellContext::CreateChildContext( sal_uInt16 nPr
ScAddress
aCellPos
=
rXMLImport
.
GetTables
().
GetCurrentCellPos
();
if
(
((
nCellType
==
util
::
NumberFormat
::
TEXT
)
||
pOUFormula
)
)
if
(
((
nCellType
==
util
::
NumberFormat
::
TEXT
)
||
pOUFormula
||
bFormulaTextResult
)
)
{
if
(
pOUFormula
)
{
...
...
sc/source/ui/docshell/docsh.cxx
Dosyayı görüntüle @
de798580
...
...
@@ -470,8 +470,10 @@ sal_Bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::un
if
(
bHardRecalc
)
DoHardRecalc
(
false
);
else
{
// still need to recalc volatile formula cells.
aDocument
.
CalcFormulaTree
(
false
,
true
,
false
);
aDocument
.
Broadcast
(
SC_HINT_DATACHANGED
,
BCA_BRDCST_ALWAYS
,
NULL
);
}
bool
bAdjustHeightOld
=
aDocument
.
IsAdjustHeightEnabled
();
aDocument
.
EnableAdjustHeight
(
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