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
e43a7125
Kaydet (Commit)
e43a7125
authored
Ara 12, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1397054 silence bogus Dereference after null check
Change-Id: Ifceb60ee9f1f5e0ba5fd68d88a0358b5400008ee
üst
7803f6ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
paint.cxx
vcl/source/window/paint.cxx
+5
-3
No files found.
vcl/source/window/paint.cxx
Dosyayı görüntüle @
e43a7125
...
...
@@ -690,12 +690,14 @@ void Window::ImplInvalidateFrameRegion( const vcl::Region* pRegion, InvalidateFl
mpWindowImpl
->
mnPaintFlags
|=
ImplPaintFlags
::
PaintAllChildren
;
if
(
!
(
nFlags
&
InvalidateFlags
::
NoErase
)
)
mpWindowImpl
->
mnPaintFlags
|=
ImplPaintFlags
::
Erase
;
if
(
!
pRegion
)
mpWindowImpl
->
mnPaintFlags
|=
ImplPaintFlags
::
PaintAll
;
// if not everything has to be redrawn, add the region to it
if
(
!
(
mpWindowImpl
->
mnPaintFlags
&
ImplPaintFlags
::
PaintAll
)
)
else
if
(
!
(
mpWindowImpl
->
mnPaintFlags
&
ImplPaintFlags
::
PaintAll
)
)
{
// if not everything has to be redrawn, add the region to it
mpWindowImpl
->
maInvalidateRegion
.
Union
(
*
pRegion
);
}
// Handle transparent windows correctly: invalidate must be done on the first opaque parent
if
(
((
IsPaintTransparent
()
&&
!
(
nFlags
&
InvalidateFlags
::
NoTransparent
))
||
(
nFlags
&
InvalidateFlags
::
Transparent
)
)
...
...
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