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
42c8178c
Kaydet (Commit)
42c8178c
authored
Kas 26, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More efficient way to check & insert listener into ptr_map.
Change-Id: I09ec8ed8f05621b72984a34f47db50d20ebd6c06
üst
96422e99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
formulacell.cxx
sc/source/core/data/formulacell.cxx
+8
-4
No files found.
sc/source/core/data/formulacell.cxx
Dosyayı görüntüle @
42c8178c
...
...
@@ -557,12 +557,16 @@ sc::FormulaGroupAreaListener* ScFormulaCellGroup::getAreaListener(
{
AreaListenerKey
aKey
(
rRange
,
bStartFixed
,
bEndFixed
);
std
::
pair
<
AreaListenersType
::
iterator
,
bool
>
r
=
mpImpl
->
maAreaListeners
.
insert
(
aKey
,
new
sc
::
FormulaGroupAreaListener
(
AreaListenersType
::
iterator
it
=
mpImpl
->
maAreaListeners
.
lower_bound
(
aKey
);
if
(
it
==
mpImpl
->
maAreaListeners
.
end
()
||
mpImpl
->
maAreaListeners
.
key_comp
()(
aKey
,
it
->
first
))
{
// Insert a new one.
it
=
mpImpl
->
maAreaListeners
.
insert
(
it
,
aKey
,
new
sc
::
FormulaGroupAreaListener
(
rRange
,
ppTopCell
,
mnLength
,
bStartFixed
,
bEndFixed
));
}
return
r
.
firs
t
->
second
;
return
i
t
->
second
;
}
void
ScFormulaCellGroup
::
endAllGroupListening
(
ScDocument
&
rDoc
)
...
...
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