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
af8c151f
Kaydet (Commit)
af8c151f
authored
Tem 08, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ScrollFlags::NoErase is never set
Change-Id: I0cd0140b26100c6cd6d91ad060526310ef2ba7f6
üst
ddc6fe92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
window.hxx
include/vcl/window.hxx
+3
-4
paint.cxx
vcl/source/window/paint.cxx
+0
-4
No files found.
include/vcl/window.hxx
Dosyayı görüntüle @
af8c151f
...
...
@@ -254,13 +254,12 @@ enum class ScrollFlags
Clip
=
0x0001
,
Children
=
0x0002
,
NoChildren
=
0x0004
,
NoErase
=
0x0008
,
UseClipRegion
=
0x0010
,
Update
=
0x0020
,
UseClipRegion
=
0x0008
,
Update
=
0x0010
,
};
namespace
o3tl
{
template
<>
struct
typed_flags
<
ScrollFlags
>
:
is_typed_flags
<
ScrollFlags
,
0x00
3
f
>
{};
template
<>
struct
typed_flags
<
ScrollFlags
>
:
is_typed_flags
<
ScrollFlags
,
0x00
1
f
>
{};
}
// Flags for ParentClipMode
...
...
vcl/source/window/paint.cxx
Dosyayı görüntüle @
af8c151f
...
...
@@ -1542,7 +1542,6 @@ void Window::ImplScroll( const Rectangle& rRect,
vcl
::
Region
aInvalidateRegion
;
bool
bScrollChildren
(
nFlags
&
ScrollFlags
::
Children
);
bool
bErase
(
!
(
nFlags
&
ScrollFlags
::
NoErase
));
if
(
!
mpWindowImpl
->
mpFirstChild
)
bScrollChildren
=
false
;
...
...
@@ -1572,7 +1571,6 @@ void Window::ImplScroll( const Rectangle& rRect,
if
(
!
aInvalidateRegion
.
IsEmpty
())
{
aInvalidateRegion
.
Move
(
bReMirror
?
-
nHorzScroll
:
nHorzScroll
,
nVertScroll
);
bErase
=
true
;
}
Rectangle
aDestRect
(
aRectMirror
);
...
...
@@ -1661,8 +1659,6 @@ void Window::ImplScroll( const Rectangle& rRect,
mpWindowImpl
->
mnPaintFlags
|=
IMPL_PAINT_CHECKRTL
;
InvalidateFlags
nPaintFlags
=
InvalidateFlags
::
Children
;
if
(
!
bErase
)
nPaintFlags
|=
InvalidateFlags
::
NoErase
;
if
(
!
bScrollChildren
)
{
if
(
nOrgFlags
&
ScrollFlags
::
NoChildren
)
...
...
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