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
0beb64bf
Kaydet (Commit)
0beb64bf
authored
Şub 17, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#736789 dereference before null check
Change-Id: I657880e7ed37f9933efcfc110daae8b4c4791497
üst
4d15e903
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
AccessibleDocumentPagePreview.cxx
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+5
-8
No files found.
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
Dosyayı görüntüle @
0beb64bf
...
...
@@ -1171,15 +1171,12 @@ SdrPage* ScShapeChildren::GetDrawPage() const
{
SCTAB
nTab
(
mpViewShell
->
GetLocationData
().
GetPrintTab
()
);
SdrPage
*
pDrawPage
=
NULL
;
if
(
mpViewShell
)
ScDocument
*
pDoc
=
mpViewShell
->
GetDocument
();
if
(
pDoc
&&
pDoc
->
GetDrawLayer
())
{
ScDocument
*
pDoc
=
mpViewShell
->
GetDocument
();
if
(
pDoc
&&
pDoc
->
GetDrawLayer
())
{
ScDrawLayer
*
pDrawLayer
=
pDoc
->
GetDrawLayer
();
if
(
pDrawLayer
->
HasObjects
()
&&
(
pDrawLayer
->
GetPageCount
()
>
nTab
))
pDrawPage
=
pDrawLayer
->
GetPage
(
static_cast
<
sal_uInt16
>
(
static_cast
<
sal_Int16
>
(
nTab
)));
}
ScDrawLayer
*
pDrawLayer
=
pDoc
->
GetDrawLayer
();
if
(
pDrawLayer
->
HasObjects
()
&&
(
pDrawLayer
->
GetPageCount
()
>
nTab
))
pDrawPage
=
pDrawLayer
->
GetPage
(
static_cast
<
sal_uInt16
>
(
static_cast
<
sal_Int16
>
(
nTab
)));
}
return
pDrawPage
;
}
...
...
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