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
cfc71668
Kaydet (Commit)
cfc71668
authored
May 03, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
A bit of cleanup.
Change-Id: Id7e11540755b727475fb82c872c718fefea26567
üst
59f38bab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
column.cxx
sc/source/core/data/column.cxx
+2
-2
column2.cxx
sc/source/core/data/column2.cxx
+3
-5
column3.cxx
sc/source/core/data/column3.cxx
+1
-1
No files found.
sc/source/core/data/column.cxx
Dosyayı görüntüle @
cfc71668
...
...
@@ -2131,7 +2131,7 @@ void ScColumn::SetDirty( const ScRange& rRange )
else
{
aHint
.
GetAddress
().
SetRow
(
nRow
);
aHint
.
SetBroadcaster
(
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nRow
));
aHint
.
SetBroadcaster
(
GetBroadcaster
(
nRow
));
pDocument
->
Broadcast
(
aHint
);
}
nIndex
++
;
...
...
@@ -2160,7 +2160,7 @@ void ScColumn::SetTableOpDirty( const ScRange& rRange )
else
{
aHint
.
GetAddress
().
SetRow
(
nRow
);
aHint
.
SetBroadcaster
(
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nRow
));
aHint
.
SetBroadcaster
(
GetBroadcaster
(
nRow
));
pDocument
->
Broadcast
(
aHint
);
}
nIndex
++
;
...
...
sc/source/core/data/column2.cxx
Dosyayı görüntüle @
cfc71668
...
...
@@ -1887,14 +1887,12 @@ void ScColumn::MoveListeners( SvtBroadcaster& rSource, SCROW nDestRow )
return
;
// See if the destination position already has a broadcaster, if not, create one.
SvtBroadcaster
*
pBC
=
NULL
;
if
(
maBroadcasters
.
is_empty
(
nDestRow
)
)
SvtBroadcaster
*
pBC
=
GetBroadcaster
(
nDestRow
)
;
if
(
!
pBC
)
{
pBC
=
new
SvtBroadcaster
;
maBroadcasters
.
set
(
nDestRow
,
pBC
);
}
else
pBC
=
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nDestRow
);
SvtListenerIter
aIter
(
rSource
);
for
(
SvtListener
*
pLst
=
aIter
.
GoStart
();
pLst
;
pLst
=
aIter
.
GoNext
())
...
...
@@ -1906,7 +1904,7 @@ void ScColumn::MoveListeners( SvtBroadcaster& rSource, SCROW nDestRow )
void
ScColumn
::
EndListening
(
SvtListener
&
rLst
,
SCROW
nRow
)
{
SvtBroadcaster
*
pBC
=
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nRow
);
SvtBroadcaster
*
pBC
=
GetBroadcaster
(
nRow
);
if
(
!
pBC
)
return
;
...
...
sc/source/core/data/column3.cxx
Dosyayı görüntüle @
cfc71668
...
...
@@ -125,7 +125,7 @@ void ScColumn::DeleteAtIndex( SCSIZE nIndex )
ScBaseCell
*
pCell
=
maItems
[
nIndex
].
pCell
;
SCROW
nRow
=
maItems
[
nIndex
].
nRow
;
pDocument
->
Broadcast
(
ScHint
(
SC_HINT_DYING
,
ScAddress
(
nCol
,
nRow
,
nTab
),
maBroadcasters
.
get
<
SvtBroadcaster
*>
(
nRow
)));
ScHint
(
SC_HINT_DYING
,
ScAddress
(
nCol
,
nRow
,
nTab
),
GetBroadcaster
(
nRow
)));
maItems
.
erase
(
maItems
.
begin
()
+
nIndex
);
if
(
pCell
->
GetCellType
()
==
CELLTYPE_FORMULA
)
static_cast
<
ScFormulaCell
*>
(
pCell
)
->
EndListeningTo
(
pDocument
);
...
...
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