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
965d09eb
Kaydet (Commit)
965d09eb
authored
Ock 23, 2015
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
do not use manual iteration
Change-Id: I7d59985557fd780276c7370daeb6eb3895f33b6e
üst
1bbb0a92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
21 deletions
+19
-21
notxtfrm.cxx
sw/source/core/doc/notxtfrm.cxx
+19
-21
No files found.
sw/source/core/doc/notxtfrm.cxx
Dosyayı görüntüle @
965d09eb
...
...
@@ -576,24 +576,24 @@ void SwNoTxtFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
bComplete
=
false
;
SwGrfNode
*
pNd
=
static_cast
<
SwGrfNode
*>
(
GetNode
());
SwViewShell
*
pVSh
=
pNd
->
GetDoc
()
->
getIDocumentLayoutAccess
().
GetCurrentViewShell
();
SwViewShell
*
pVSh
=
pNd
->
GetDoc
()
->
getIDocumentLayoutAccess
().
GetCurrentViewShell
();
if
(
pVSh
)
{
GraphicAttr
aAttr
;
if
(
pNd
->
GetGrfObj
().
IsCached
(
pVSh
->
GetOut
(),
Point
(),
Prt
().
SSize
(),
&
pNd
->
GetGraphicAttr
(
aAttr
,
this
)
))
{
SwViewShell
*
pSh
=
pVSh
;
do
{
SET_CURR_SHELL
(
pSh
);
if
(
pSh
->
GetWin
()
)
for
(
SwViewShell
rShell
:
pVSh
->
GetRingContainer
())
{
SET_CURR_SHELL
(
&
rShell
);
if
(
rShell
.
GetWin
()
)
{
if
(
pSh
->
IsPreview
()
)
::
RepaintPagePreview
(
pSh
,
Frm
().
SVRect
()
);
if
(
rShell
.
IsPreview
()
)
::
RepaintPagePreview
(
&
rShell
,
Frm
().
SVRect
()
);
else
pSh
->
GetWin
()
->
Invalidate
(
Frm
().
SVRect
()
);
rShell
.
GetWin
()
->
Invalidate
(
Frm
().
SVRect
()
);
}
}
while
(
pVSh
!=
(
pSh
=
static_cast
<
SwViewShell
*>
(
pSh
->
GetNext
())
));
}
}
}
}
...
...
@@ -640,23 +640,21 @@ void SwNoTxtFrm::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
if
(
!
pVSh
)
break
;
SwViewShell
*
pSh
=
pVSh
;
do
{
SET_CURR_SHELL
(
pSh
);
if
(
pSh
->
IsPreview
()
)
for
(
SwViewShell
&
rShell
:
pVSh
->
GetRingContainer
())
{
SET_CURR_SHELL
(
&
rShell
);
if
(
rShell
.
IsPreview
()
)
{
if
(
pSh
->
GetWin
()
)
::
RepaintPagePreview
(
pSh
,
aRect
);
if
(
rShell
.
GetWin
()
)
::
RepaintPagePreview
(
&
rShell
,
aRect
);
}
else
if
(
pSh
->
VisArea
().
IsOver
(
aRect
)
&&
OUTDEV_WINDOW
==
pSh
->
GetOut
()
->
GetOutDevType
()
)
else
if
(
rShell
.
VisArea
().
IsOver
(
aRect
)
&&
OUTDEV_WINDOW
==
rShell
.
GetOut
()
->
GetOutDevType
()
)
{
// invalidate instead of painting
pSh
->
GetWin
()
->
Invalidate
(
aRect
.
SVRect
()
);
rShell
.
GetWin
()
->
Invalidate
(
aRect
.
SVRect
()
);
}
pSh
=
static_cast
<
SwViewShell
*>
(
pSh
->
GetNext
());
}
while
(
pSh
!=
pVSh
);
}
}
break
;
...
...
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