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
737a0de6
Kaydet (Commit)
737a0de6
authored
May 28, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#91649 call ApplySettings at a more correct place
Change-Id: I84a620a845b9338cd830c8929346204e3d88003f
üst
8400e87a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
paint.cxx
vcl/source/window/paint.cxx
+2
-5
No files found.
vcl/source/window/paint.cxx
Dosyayı görüntüle @
737a0de6
...
...
@@ -217,6 +217,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion)
{
// double-buffering
SetupBuffer
();
m_pWindow
->
ApplySettings
(
*
m_pBuffer
.
get
());
// temporarily decrease the mnOutOffX/Y of the buffer for the
// subwidgets (because the m_pBuffer is our base here)
...
...
@@ -237,6 +238,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion)
else
{
// direct painting
m_pWindow
->
ApplySettings
(
*
m_pWindow
);
m_pWindow
->
PushPaintHelper
(
this
,
*
m_pWindow
);
m_pWindow
->
Paint
(
*
m_pWindow
,
m_aPaintRect
);
}
...
...
@@ -505,11 +507,6 @@ namespace vcl {
void
Window
::
ImplCallPaint
(
const
VclPtr
<
VirtualDevice
>&
rBuffer
,
const
vcl
::
Region
*
pRegion
,
sal_uInt16
nPaintFlags
)
{
if
(
rBuffer
)
ApplySettings
(
*
rBuffer
.
get
());
else
ApplySettings
(
*
this
);
// call PrePaint. PrePaint may add to the invalidate region as well as
// other parameters used below.
PrePaint
(
*
this
);
...
...
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