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
584d4f5d
Kaydet (Commit)
584d4f5d
authored
Kas 14, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1158396 Uncaught exception
Change-Id: I6752a534bca8f81627cdd616ac0f2268824299e0
üst
6abcd7fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
2 deletions
+29
-2
Blob.cxx
connectivity/source/drivers/firebird/Blob.cxx
+29
-2
No files found.
connectivity/source/drivers/firebird/Blob.cxx
Dosyayı görüntüle @
584d4f5d
...
@@ -191,8 +191,35 @@ sal_Int32 SAL_CALL Blob::readBytes(uno::Sequence< sal_Int8 >& rDataOut,
...
@@ -191,8 +191,35 @@ sal_Int32 SAL_CALL Blob::readBytes(uno::Sequence< sal_Int8 >& rDataOut,
throw
(
NotConnectedException
,
BufferSizeExceededException
,
IOException
,
RuntimeException
,
std
::
exception
)
throw
(
NotConnectedException
,
BufferSizeExceededException
,
IOException
,
RuntimeException
,
std
::
exception
)
{
{
MutexGuard
aGuard
(
m_aMutex
);
MutexGuard
aGuard
(
m_aMutex
);
checkDisposed
(
Blob_BASE
::
rBHelper
.
bDisposed
);
ensureBlobIsOpened
();
try
{
checkDisposed
(
Blob_BASE
::
rBHelper
.
bDisposed
);
ensureBlobIsOpened
();
}
catch
(
const
NotConnectedException
&
)
{
throw
;
}
catch
(
const
BufferSizeExceededException
&
)
{
throw
;
}
catch
(
const
IOException
&
)
{
throw
;
}
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
e
)
{
css
::
uno
::
Any
a
(
cppu
::
getCaughtException
());
throw
css
::
lang
::
WrappedTargetRuntimeException
(
"wrapped Exception "
+
e
.
Message
,
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
(),
a
);
}
// Ensure we have enough space for the amount of data we can actually read.
// Ensure we have enough space for the amount of data we can actually read.
const
sal_Int64
nBytesAvailable
=
m_nBlobLength
-
m_nBlobPosition
;
const
sal_Int64
nBytesAvailable
=
m_nBlobLength
-
m_nBlobPosition
;
...
...
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