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
58a48ace
Kaydet (Commit)
58a48ace
authored
Mar 11, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
V595: pointer was utilized before it was verified against nullptr
Change-Id: I271e045ed2f80e648d620f26cd60215f7f806bd1
üst
dc236336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
unocpres.cxx
sd/source/ui/unoidl/unocpres.cxx
+6
-9
No files found.
sd/source/ui/unoidl/unocpres.cxx
Dosyayı görüntüle @
58a48ace
...
...
@@ -196,19 +196,16 @@ uno::Any SAL_CALL SdXCustomPresentation::getByIndex( sal_Int32 Index )
if
(
bDisposing
)
throw
lang
::
DisposedException
();
if
(
Index
<
0
||
Index
>=
(
sal_Int32
)
mpSdCustomShow
->
PagesVector
().
size
()
)
if
(
Index
<
0
||
!
mpSdCustomShow
||
Index
>=
(
sal_Int32
)
mpSdCustomShow
->
PagesVector
().
size
()
)
throw
lang
::
IndexOutOfBoundsException
();
uno
::
Any
aAny
;
if
(
mpSdCustomShow
)
{
SdrPage
*
pPage
=
(
SdrPage
*
)
mpSdCustomShow
->
PagesVector
()[
Index
];
SdrPage
*
pPage
=
(
SdrPage
*
)
mpSdCustomShow
->
PagesVector
()[
Index
];
if
(
pPage
)
{
uno
::
Reference
<
drawing
::
XDrawPage
>
xRef
(
pPage
->
getUnoPage
(),
uno
::
UNO_QUERY
);
aAny
<<=
xRef
;
}
if
(
pPage
)
{
uno
::
Reference
<
drawing
::
XDrawPage
>
xRef
(
pPage
->
getUnoPage
(),
uno
::
UNO_QUERY
);
aAny
<<=
xRef
;
}
return
aAny
;
...
...
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