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
7b768dd9
Kaydet (Commit)
7b768dd9
authored
Agu 15, 2016
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#100852 update miBroadcasterPos before copying it
Change-Id: I9ab9acfb0871355ceb2c3c83f51e7ba05a74d8f2
üst
40231526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
column.cxx
sc/source/core/data/column.cxx
+20
-0
No files found.
sc/source/core/data/column.cxx
Dosyayı görüntüle @
7b768dd9
...
@@ -1511,7 +1511,27 @@ public:
...
@@ -1511,7 +1511,27 @@ public:
~
CopyByCloneHandler
()
~
CopyByCloneHandler
()
{
{
if
(
mpDestPos
)
if
(
mpDestPos
)
{
// If broadcasters were setup in the same column,
// maDestPos.miBroadcasterPos doesn't match
// mrDestCol.maBroadcasters because it is never passed anywhere.
// Assign a corresponding iterator before copying all over.
// Otherwise this may result in wrongly copying a singular
// iterator.
{
/* XXX Using a temporary ColumnBlockPosition just for
* initializing from ScColumn::maBroadcasters.begin() is ugly,
* on the other hand we don't want to expose
* ScColumn::maBroadcasters to the outer world and have a
* getter. */
sc
::
ColumnBlockPosition
aTempBlock
;
mrDestCol
.
InitBlockPosition
(
aTempBlock
);
maDestPos
.
miBroadcasterPos
=
aTempBlock
.
miBroadcasterPos
;
}
*
mpDestPos
=
maDestPos
;
*
mpDestPos
=
maDestPos
;
}
}
}
void
setStartListening
(
bool
b
)
void
setStartListening
(
bool
b
)
...
...
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