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
712d7815
Kaydet (Commit)
712d7815
authored
Kas 05, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706401 Uncaught exception
Change-Id: Iacbaf56a23d6f1878c5a5ec6f00db8211cb8ed62
üst
68016b44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
databasedocument.cxx
dbaccess/source/core/dataaccess/databasedocument.cxx
+16
-1
No files found.
dbaccess/source/core/dataaccess/databasedocument.cxx
Dosyayı görüntüle @
712d7815
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/script/provider/theMasterScriptProviderFactory.hpp>
#include <com/sun/star/script/provider/theMasterScriptProviderFactory.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
...
@@ -755,7 +756,21 @@ void SAL_CALL ODatabaseDocument::recoverFromFile( const OUString& i_SourceLocati
...
@@ -755,7 +756,21 @@ void SAL_CALL ODatabaseDocument::recoverFromFile( const OUString& i_SourceLocati
sal_Bool
SAL_CALL
ODatabaseDocument
::
attachResource
(
const
OUString
&
_rURL
,
const
Sequence
<
PropertyValue
>&
_rArguments
)
throw
(
RuntimeException
,
std
::
exception
)
sal_Bool
SAL_CALL
ODatabaseDocument
::
attachResource
(
const
OUString
&
_rURL
,
const
Sequence
<
PropertyValue
>&
_rArguments
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
DocumentGuard
aGuard
(
*
this
,
DocumentGuard
::
MethodUsedDuringInit
);
DocumentGuard
aGuard
(
*
this
,
DocumentGuard
::
MethodUsedDuringInit
);
return
impl_attachResource
(
_rURL
,
_rArguments
,
aGuard
);
sal_Bool
bRet
(
sal_False
);
try
{
bRet
=
impl_attachResource
(
_rURL
,
_rArguments
,
aGuard
);
}
catch
(
const
RuntimeException
&
)
{
throw
;
}
catch
(
const
Exception
&
)
{
Any
aError
=
::
cppu
::
getCaughtException
();
throw
WrappedTargetRuntimeException
(
OUString
(),
*
this
,
aError
);
}
return
bRet
;
}
}
bool
ODatabaseDocument
::
impl_attachResource
(
const
OUString
&
i_rLogicalDocumentURL
,
bool
ODatabaseDocument
::
impl_attachResource
(
const
OUString
&
i_rLogicalDocumentURL
,
...
...
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