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
1bfb9dbb
Kaydet (Commit)
1bfb9dbb
authored
Tem 04, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1309261 Unchecked dynamic_cast
Change-Id: Idea3a9f3465387680b814dc53ed4c0b13265f9f6
üst
d03bdab6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sdrpaintwindow.cxx
svx/source/svdraw/sdrpaintwindow.cxx
+3
-4
No files found.
svx/source/svdraw/sdrpaintwindow.cxx
Dosyayı görüntüle @
1bfb9dbb
...
...
@@ -201,9 +201,9 @@ void SdrPaintWindow::impCreateOverlayManager()
// is it a window?
if
(
OUTDEV_WINDOW
==
GetOutputDevice
().
GetOutDevType
())
{
vcl
::
Window
*
pWindow
=
dynamic_cast
<
vcl
::
Window
*>
(
&
GetOutputDevice
());
vcl
::
Window
&
rWindow
=
dynamic_cast
<
vcl
::
Window
&>
(
GetOutputDevice
());
// decide which OverlayManager to use
if
(
GetPaintView
().
IsBufferedOverlayAllowed
()
&&
mbUseBuffer
&&
!
pWindow
->
SupportsDoubleBuffering
())
if
(
GetPaintView
().
IsBufferedOverlayAllowed
()
&&
mbUseBuffer
&&
!
rWindow
.
SupportsDoubleBuffering
())
{
// buffered OverlayManager, buffers its background and refreshes from there
// for pure overlay changes (no system redraw). The 3rd parameter specifies
...
...
@@ -226,8 +226,7 @@ void SdrPaintWindow::impCreateOverlayManager()
// Request a repaint so that the buffered overlay manager fills
// its buffer properly. This is a workaround for missing buffer
// updates.
if
(
pWindow
!=
NULL
)
pWindow
->
Invalidate
();
rWindow
.
Invalidate
();
Color
aColA
(
GetPaintView
().
getOptionsDrawinglayer
().
GetStripeColorA
());
Color
aColB
(
GetPaintView
().
getOptionsDrawinglayer
().
GetStripeColorB
());
...
...
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