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
be877a9f
Kaydet (Commit)
be877a9f
authored
Kas 28, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clear column data array cache when the document content changes.
Change-Id: I09ffa455e79199e37ca6168753ec9ef4d5aa33dc
üst
0fb33f60
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
0 deletions
+25
-0
document.hxx
sc/inc/document.hxx
+5
-0
column2.cxx
sc/source/core/data/column2.cxx
+14
-0
document.cxx
sc/source/core/data/document.cxx
+5
-0
docsh.cxx
sc/source/ui/docshell/docsh.cxx
+1
-0
No files found.
sc/inc/document.hxx
Dosyayı görüntüle @
be877a9f
...
...
@@ -2018,6 +2018,11 @@ public:
formula
::
VectorRefArray
FetchVectorRefArray
(
const
ScAddress
&
rPos
,
SCROW
nLength
);
/**
* Called whenever the value of a cell inside the document is modified.
*/
void
CellContentModified
();
SvtBroadcaster
*
GetBroadcaster
(
const
ScAddress
&
rPos
);
const
SvtBroadcaster
*
GetBroadcaster
(
const
ScAddress
&
rPos
)
const
;
void
DeleteBroadcasters
(
sc
::
ColumnBlockPosition
&
rBlockPos
,
const
ScAddress
&
rTopPos
,
SCROW
nLength
);
...
...
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
be877a9f
...
...
@@ -2862,6 +2862,13 @@ void ScColumn::SetFormulaResults( SCROW nRow, const double* pResults, size_t nLe
rCell
.
ResetDirty
();
rCell
.
SetChanged
(
true
);
}
std
::
vector
<
SCROW
>
aRows
;
aRows
.
reserve
(
nLen
);
for
(
size_t
i
=
0
;
i
<
nLen
;
++
i
)
aRows
.
push_back
(
nRow
+
i
);
BroadcastCells
(
aRows
,
SC_HINT_DATACHANGED
);
}
void
ScColumn
::
SetFormulaResults
(
SCROW
nRow
,
const
formula
::
FormulaTokenRef
*
pResults
,
size_t
nLen
)
...
...
@@ -2888,6 +2895,13 @@ void ScColumn::SetFormulaResults( SCROW nRow, const formula::FormulaTokenRef* pR
rCell
.
ResetDirty
();
rCell
.
SetChanged
(
true
);
}
std
::
vector
<
SCROW
>
aRows
;
aRows
.
reserve
(
nLen
);
for
(
size_t
i
=
0
;
i
<
nLen
;
++
i
)
aRows
.
push_back
(
nRow
+
i
);
BroadcastCells
(
aRows
,
SC_HINT_DATACHANGED
);
}
void
ScColumn
::
SetNumberFormat
(
SCROW
nRow
,
sal_uInt32
nNumberFormat
)
...
...
sc/source/core/data/document.cxx
Dosyayı görüntüle @
be877a9f
...
...
@@ -2313,6 +2313,11 @@ ScDocument::NumFmtMergeHandler::~NumFmtMergeHandler()
mpDoc
->
pFormatExchangeList
=
NULL
;
}
void
ScDocument
::
CellContentModified
()
{
mpFormulaGroupCxt
.
reset
();
}
SvtBroadcaster
*
ScDocument
::
GetBroadcaster
(
const
ScAddress
&
rPos
)
{
ScTable
*
pTab
=
FetchTable
(
rPos
.
Tab
());
...
...
sc/source/ui/docshell/docsh.cxx
Dosyayı görüntüle @
be877a9f
...
...
@@ -3047,6 +3047,7 @@ ScDocShellModificator::~ScDocShellModificator()
void
ScDocShellModificator
::
SetDocumentModified
()
{
ScDocument
*
pDoc
=
rDocShell
.
GetDocument
();
pDoc
->
CellContentModified
();
if
(
!
pDoc
->
IsImportingXML
()
)
{
// AutoCalcShellDisabled temporaer restaurieren
...
...
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