diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-01 10:57:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-01 14:07:17 +0000 |
commit | 6269b62b525ec22471db56015ac2daed813ec5ff (patch) | |
tree | db015083fe8f6f7aaf206bc68e9e5170094f6c97 /connectivity/source/inc/hsqldb/HView.hxx | |
parent | c17f5bb6fb15239809e6b8439e9e443280bc2bde (diff) |
Resolves: fdo#80938 fix SQL view to be editable
regression from
commit d60392fb5b387175dbd2e575848993c02c56922f
Author: Caolán McNamara <caolanm@redhat.com>
Date: Thu Mar 6 12:05:24 2014 +0000
coverity#706316 help out coverity re tortured logic
Change-Id: I2ee7bd3b7421ae46878d1b565ef14dd7b0bbd10e
Diffstat (limited to 'connectivity/source/inc/hsqldb/HView.hxx')
-rw-r--r-- | connectivity/source/inc/hsqldb/HView.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/connectivity/source/inc/hsqldb/HView.hxx b/connectivity/source/inc/hsqldb/HView.hxx index e13ff796734e..3e3d7cca8884 100644 --- a/connectivity/source/inc/hsqldb/HView.hxx +++ b/connectivity/source/inc/hsqldb/HView.hxx @@ -63,12 +63,21 @@ namespace connectivity { namespace hsqldb virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& _rValue, sal_Int32 _nHandle ) const SAL_OVERRIDE; private: + /** retrieves the current command of the View */ + OUString impl_getCommand() const; + + /** retrieves the current command of the View + + @throws ::com::sun::star::lang::WrappedTargetException + if an error occurs while retrieving the command from the database. + */ + OUString impl_getCommand_wrapSQLException() const; /** retrieves the current command of the View @throws ::com::sun::star::sdbc::SQLException if an error occurs while retrieving the command from the database. */ - OUString impl_getCommand_throw() const; + OUString impl_getCommand_throwSQLException() const; private: ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xConnection; |