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
d8863b73
Kaydet (Commit)
d8863b73
authored
Haz 03, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735682 Unchecked dynamic_cast
Change-Id: Ie3ac1e9960afa71e5cf221bb67b8b8ccb609dc38
üst
312ffe07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
cairo_canvasbitmap.cxx
canvas/source/cairo/cairo_canvasbitmap.cxx
+3
-4
No files found.
canvas/source/cairo/cairo_canvasbitmap.cxx
Dosyayı görüntüle @
d8863b73
...
...
@@ -221,12 +221,11 @@ namespace cairocanvas
case
1
:
{
#ifdef CAIRO_HAS_XLIB_SURFACE
X11Surface
*
pXlibSurface
=
dynamic_cast
<
X11Surface
*>
(
mpBufferSurface
.
get
());
OSL_ASSERT
(
pXlibSurface
);
X11Surface
&
rXlibSurface
=
dynamic_cast
<
X11Surface
&>
(
*
mpBufferSurface
.
get
());
uno
::
Sequence
<
uno
::
Any
>
args
(
3
);
args
[
0
]
=
uno
::
Any
(
false
);
// do not call XFreePixmap on it
args
[
1
]
=
uno
::
Any
(
pXlibSurface
->
getPixmap
()
->
mhDrawable
);
args
[
2
]
=
uno
::
Any
(
sal_Int32
(
pXlibSurface
->
getDepth
()
)
);
args
[
1
]
=
uno
::
Any
(
rXlibSurface
.
getPixmap
()
->
mhDrawable
);
args
[
2
]
=
uno
::
Any
(
sal_Int32
(
rXlibSurface
.
getDepth
()
)
);
aRV
=
uno
::
Any
(
args
);
#elif defined CAIRO_HAS_QUARTZ_SURFACE
...
...
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