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
10787356
Kaydet (Commit)
10787356
authored
Mar 28, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#736157 Dereference null return value
Change-Id: Ibc6e17e4d916ae9e1664e8c9149a978072dae0ac
üst
f1fe85ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vclxtabpagecontainer.cxx
toolkit/source/awt/vclxtabpagecontainer.cxx
+2
-2
No files found.
toolkit/source/awt/vclxtabpagecontainer.cxx
Dosyayı görüntüle @
10787356
...
@@ -60,12 +60,12 @@ void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(Run
...
@@ -60,12 +60,12 @@ void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(Run
if
(
pTabControl
)
if
(
pTabControl
)
{
{
TabPage
*
pTabPage
=
pTabControl
->
GetTabPage
(
sal
::
static_int_cast
<
sal_uInt16
>
(
pTabControl
->
GetCurPageId
(
)
)
);
TabPage
*
pTabPage
=
pTabControl
->
GetTabPage
(
sal
::
static_int_cast
<
sal_uInt16
>
(
pTabControl
->
GetCurPageId
(
)
)
);
if
(
pTabPage
)
OutputDevice
*
pDev
=
VCLUnoHelper
::
GetOutputDevice
(
getGraphics
()
);
if
(
pTabPage
&&
pDev
)
{
{
::
Point
aPos
(
nX
,
nY
);
::
Point
aPos
(
nX
,
nY
);
::
Size
aSize
=
pTabPage
->
GetSizePixel
();
::
Size
aSize
=
pTabPage
->
GetSizePixel
();
OutputDevice
*
pDev
=
VCLUnoHelper
::
GetOutputDevice
(
getGraphics
()
);
aPos
=
pDev
->
PixelToLogic
(
aPos
);
aPos
=
pDev
->
PixelToLogic
(
aPos
);
aSize
=
pDev
->
PixelToLogic
(
aSize
);
aSize
=
pDev
->
PixelToLogic
(
aSize
);
...
...
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