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
4fd65ac3
Kaydet (Commit)
4fd65ac3
authored
Eki 20, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#706538 Uncaught exception
Change-Id: If23396c545e7add653fa9e5ac6e544aaa794120d
üst
9f65dff3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
DatabaseForm.cxx
forms/source/component/DatabaseForm.cxx
+13
-5
No files found.
forms/source/component/DatabaseForm.cxx
Dosyayı görüntüle @
4fd65ac3
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/io/XObjectInputStream.hpp>
#include <com/sun/star/io/XObjectInputStream.hpp>
#include <com/sun/star/io/XObjectOutputStream.hpp>
#include <com/sun/star/io/XObjectOutputStream.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdb/RowSetVetoException.hpp>
#include <com/sun/star/sdb/RowSetVetoException.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/sdb/SQLContext.hpp>
...
@@ -4077,7 +4078,6 @@ void ODatabaseForm::implRemoved(const InterfaceRef& _rxObject)
...
@@ -4077,7 +4078,6 @@ void ODatabaseForm::implRemoved(const InterfaceRef& _rxObject)
}
}
}
}
void
SAL_CALL
ODatabaseForm
::
errorOccured
(
const
SQLErrorEvent
&
_rEvent
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
ODatabaseForm
::
errorOccured
(
const
SQLErrorEvent
&
_rEvent
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
// give it to my own error listener
// give it to my own error listener
...
@@ -4087,21 +4087,29 @@ void SAL_CALL ODatabaseForm::errorOccured(const SQLErrorEvent& _rEvent) throw( R
...
@@ -4087,21 +4087,29 @@ void SAL_CALL ODatabaseForm::errorOccured(const SQLErrorEvent& _rEvent) throw( R
}
}
// com::sun::star::container::XNamed
// com::sun::star::container::XNamed
OUString
SAL_CALL
ODatabaseForm
::
getName
()
throw
(
RuntimeException
,
std
::
exception
)
OUString
SAL_CALL
ODatabaseForm
::
getName
()
throw
(
RuntimeException
,
std
::
exception
)
{
{
OUString
sReturn
;
OUString
sReturn
;
OPropertySetHelper
::
getFastPropertyValue
(
PROPERTY_ID_NAME
)
>>=
sReturn
;
try
{
OPropertySetHelper
::
getFastPropertyValue
(
PROPERTY_ID_NAME
)
>>=
sReturn
;
}
catch
(
const
css
::
beans
::
UnknownPropertyException
&
)
{
throw
WrappedTargetRuntimeException
(
"ODatabaseForm::getName"
,
*
const_cast
<
ODatabaseForm
*
>
(
this
),
::
cppu
::
getCaughtException
()
);
}
return
sReturn
;
return
sReturn
;
}
}
void
SAL_CALL
ODatabaseForm
::
setName
(
const
OUString
&
aName
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
ODatabaseForm
::
setName
(
const
OUString
&
aName
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
setFastPropertyValue
(
PROPERTY_ID_NAME
,
makeAny
(
aName
));
setFastPropertyValue
(
PROPERTY_ID_NAME
,
makeAny
(
aName
));
}
}
}
// namespace frm
}
// namespace frm
...
...
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