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
2c93ae21
Kaydet (Commit)
2c93ae21
authored
Mar 15, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use SwIterator<>
Change-Id: Ia0a432019dc856c6c12996a898e8137789cbc76b
üst
8b41d429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
swbaslnk.cxx
sw/source/core/docnode/swbaslnk.cxx
+10
-11
No files found.
sw/source/core/docnode/swbaslnk.cxx
Dosyayı görüntüle @
2c93ae21
...
...
@@ -50,6 +50,7 @@
#include <tabfrm.hxx>
#include <cntfrm.hxx>
#include <htmltbl.hxx>
#include <switerator.hxx>
using
namespace
com
::
sun
::
star
;
...
...
@@ -64,18 +65,16 @@ static void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
// after a Paint will be swapped out! So all other "behind"
// them havent't a loaded Graphic.
rGrfNd
.
LockModify
();
SwClientIter
aIter
(
rGrfNd
);
// TODO
for
(
int
n
=
0
;
n
<
2
;
++
n
)
{
SwClient
*
pLast
=
aIter
.
GoStart
();
if
(
pLast
)
// Were we able to jump to the beginning?
{
do
{
if
(
(
0
==
n
)
!=
pLast
->
ISA
(
SwCntntFrm
)
)
pLast
->
ModifyNotification
(
&
rItem
,
&
rItem
);
}
while
(
0
!=
(
pLast
=
++
aIter
));
}
SwIterator
<
SwClient
,
SwGrfNode
>
aIter
(
rGrfNd
);
for
(
SwClient
*
pLast
=
aIter
.
First
();
pLast
;
pLast
=
aIter
.
Next
())
if
(
!
pLast
->
ISA
(
SwCntntFrm
))
pLast
->
ModifyNotification
(
&
rItem
,
&
rItem
);
}
{
SwIterator
<
SwCntntFrm
,
SwGrfNode
>
aIter
(
rGrfNd
);
for
(
SwClient
*
pLast
=
aIter
.
First
();
pLast
;
pLast
=
aIter
.
Next
())
pLast
->
ModifyNotification
(
&
rItem
,
&
rItem
);
}
rGrfNd
.
UnlockModify
();
}
...
...
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