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
b5e8833f
Kaydet (Commit)
b5e8833f
authored
May 07, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#735924 Explicit null dereferenced
Change-Id: I77044f6f9e99ddaa64cf69ba22205d6536a90b1b
üst
f36614bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
unosect.cxx
sw/source/core/unocore/unosect.cxx
+3
-3
No files found.
sw/source/core/unocore/unosect.cxx
Dosyayı görüntüle @
b5e8833f
...
@@ -1115,11 +1115,11 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
...
@@ -1115,11 +1115,11 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
{
{
pEnclosingSection
=
pEnclosingSection
->
GetParent
();
pEnclosingSection
=
pEnclosingSection
->
GetParent
();
}
}
if
(
pEnclosingSection
)
SwTOXBaseSection
*
const
pTOXBaseSect
=
pEnclosingSection
?
PTR_CAST
(
SwTOXBaseSection
,
pEnclosingSection
)
:
NULL
;
if
(
pTOXBaseSect
)
{
{
// convert section to TOXBase and get SwXDocumentIndex
// convert section to TOXBase and get SwXDocumentIndex
SwTOXBaseSection
*
const
pTOXBaseSect
=
PTR_CAST
(
SwTOXBaseSection
,
pEnclosingSection
);
const
uno
::
Reference
<
text
::
XDocumentIndex
>
xIndex
=
const
uno
::
Reference
<
text
::
XDocumentIndex
>
xIndex
=
SwXDocumentIndex
::
CreateXDocumentIndex
(
SwXDocumentIndex
::
CreateXDocumentIndex
(
*
pTOXBaseSect
->
GetFmt
()
->
GetDoc
(),
*
pTOXBaseSect
);
*
pTOXBaseSect
->
GetFmt
()
->
GetDoc
(),
*
pTOXBaseSect
);
...
...
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