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
61360536
Kaydet (Commit)
61360536
authored
Ock 23, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#440728 Explicit null dereferenced
Change-Id: I76b8d6eb59d2558a7ff8a1b1573f24e41a03b8b6
üst
e4c7cfed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
DIndex.cxx
connectivity/source/drivers/dbase/DIndex.cxx
+3
-5
No files found.
connectivity/source/drivers/dbase/DIndex.cxx
Dosyayı görüntüle @
61360536
...
@@ -557,11 +557,9 @@ sal_Bool ODbaseIndex::CreateImpl()
...
@@ -557,11 +557,9 @@ sal_Bool ODbaseIndex::CreateImpl()
if
(
xSet
->
last
())
if
(
xSet
->
last
())
{
{
Reference
<
XUnoTunnel
>
xTunnel
(
xSet
,
UNO_QUERY
);
Reference
<
XUnoTunnel
>
xTunnel
(
xSet
,
UNO_QUERY_THROW
);
ODbaseResultSet
*
pDbaseRes
=
NULL
;
ODbaseResultSet
*
pDbaseRes
=
reinterpret_cast
<
ODbaseResultSet
*
>
(
xTunnel
->
getSomething
(
ODbaseResultSet
::
getUnoTunnelImplementationId
())
);
if
(
xTunnel
.
is
())
assert
(
pDbaseRes
);
//"No dbase resultset found? What's going on here!
pDbaseRes
=
reinterpret_cast
<
ODbaseResultSet
*
>
(
xTunnel
->
getSomething
(
ODbaseResultSet
::
getUnoTunnelImplementationId
())
);
OSL_ENSURE
(
pDbaseRes
,
"No dbase resultset found? What's going on here!"
);
Reference
<
XRowLocate
>
xRowLocate
(
xSet
,
UNO_QUERY
);
Reference
<
XRowLocate
>
xRowLocate
(
xSet
,
UNO_QUERY
);
nRowsLeft
=
xSet
->
getRow
();
nRowsLeft
=
xSet
->
getRow
();
...
...
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