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
f8ce2e04
Kaydet (Commit)
f8ce2e04
authored
Agu 17, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#983635 Uncaught exception
Change-Id: I4be3600af6ee97ba9f962edf9723c04d89b161e4
üst
d2927e38
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
7 deletions
+13
-7
datasourcemetadata.cxx
dbaccess/source/sdbtools/connection/datasourcemetadata.cxx
+2
-1
datasourcemetadata.hxx
dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
+1
-1
XDataSourceMetaData.idl
offapi/com/sun/star/sdb/tools/XDataSourceMetaData.idl
+2
-1
DBMetaData.java
wizards/com/sun/star/wizards/db/DBMetaData.java
+2
-4
Finalizer.java
wizards/com/sun/star/wizards/query/Finalizer.java
+6
-0
No files found.
dbaccess/source/sdbtools/connection/datasourcemetadata.cxx
Dosyayı görüntüle @
f8ce2e04
...
...
@@ -29,6 +29,7 @@ namespace sdbtools
using
::
com
::
sun
::
star
::
uno
::
Reference
;
using
::
com
::
sun
::
star
::
sdbc
::
XConnection
;
using
::
com
::
sun
::
star
::
lang
::
NullPointerException
;
using
::
com
::
sun
::
star
::
sdbc
::
SQLException
;
using
::
com
::
sun
::
star
::
uno
::
RuntimeException
;
using
::
com
::
sun
::
star
::
uno
::
XComponentContext
;
...
...
@@ -51,7 +52,7 @@ namespace sdbtools
{
}
sal_Bool
SAL_CALL
DataSourceMetaData
::
supportsQueriesInFrom
(
)
throw
(
RuntimeException
,
std
::
exception
)
sal_Bool
SAL_CALL
DataSourceMetaData
::
supportsQueriesInFrom
(
)
throw
(
RuntimeException
,
SQLException
,
std
::
exception
)
{
EntryGuard
aGuard
(
*
this
);
::
dbtools
::
DatabaseMetaData
aMeta
(
getConnection
()
);
...
...
dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
Dosyayı görüntüle @
f8ce2e04
...
...
@@ -58,7 +58,7 @@ namespace sdbtools
);
// XDataSourceMetaData
virtual
sal_Bool
SAL_CALL
supportsQueriesInFrom
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
supportsQueriesInFrom
(
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
protected
:
virtual
~
DataSourceMetaData
();
...
...
offapi/com/sun/star/sdb/tools/XDataSourceMetaData.idl
Dosyayı görüntüle @
f8ce2e04
...
...
@@ -21,6 +21,7 @@
#
define
__com_sun_star_sdb_tools_XDataSourceMetaData_idl__
#
include
<
com
/
sun
/
star
/
uno
/
XInterface
.
idl>
#
include
<
com
/
sun
/
star
/
sdbc
/
SQLException
.
idl>
module
com
{
module
sun
{
module
star
{
module
sdb
{
module
tools
{
...
...
@@ -29,7 +30,7 @@ interface XDataSourceMetaData
/**
determines
whether
the
data
source
supports
queries
in
the
<
code
>
FROM
</
code
>
part
of
a
<
code
>
SELECT
</
code
>
statement
.
*/
boolean
supportsQueriesInFrom
(
)
;
boolean
supportsQueriesInFrom
(
)
raises
(
com
::
sun
::
star
::
sdbc
::
SQLException
)
;
}
;
}
; }; }; }; };
...
...
wizards/com/sun/star/wizards/db/DBMetaData.java
Dosyayı görüntüle @
f8ce2e04
...
...
@@ -762,14 +762,12 @@ public class DBMetaData
}
}
public
boolean
supportsQueriesInFrom
()
public
boolean
supportsQueriesInFrom
()
throws
SQLException
{
return
m_connectionTools
.
getDataSourceMetaData
().
supportsQueriesInFrom
();
}
public
String
suggestName
(
final
int
i_objectType
,
final
String
i_baseName
)
throws
IllegalArgumentException
public
String
suggestName
(
final
int
i_objectType
,
final
String
i_baseName
)
throws
IllegalArgumentException
,
SQLException
{
return
m_connectionTools
.
getObjectNames
().
suggestName
(
i_objectType
,
i_baseName
);
}
...
...
wizards/com/sun/star/wizards/query/Finalizer.java
Dosyayı görüntüle @
f8ce2e04
...
...
@@ -21,6 +21,7 @@ import com.sun.star.awt.XRadioButton;
import
com.sun.star.awt.XTextComponent
;
import
com.sun.star.lang.IllegalArgumentException
;
import
com.sun.star.sdb.CommandType
;
import
com.sun.star.sdbc.SQLException
;
import
com.sun.star.uno.AnyConverter
;
import
com.sun.star.wizards.common.HelpIds
;
import
com.sun.star.wizards.common.Helper
;
...
...
@@ -147,6 +148,11 @@ public class Finalizer
exception
.
printStackTrace
(
System
.
err
);
return
PropertyNames
.
EMPTY_STRING
;
}
catch
(
SQLException
exception
)
{
exception
.
printStackTrace
(
System
.
err
);
return
PropertyNames
.
EMPTY_STRING
;
}
}
private
String
getTitle
()
...
...
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