summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-17 12:15:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-17 16:39:20 +0100
commitc7052fd4814ad42f1567e4f6c1e85435cf99ad71 (patch)
treecbc4b6162ec8411aa8916202892d9221056f632a /dbaccess
parentd2a3b21ade0896520440eef15a88216d995d0ee9 (diff)
coverity#983649 Uncaught exception
Change-Id: I928e8dbeeac168a02c82f2fafe881dae38ae4e3c
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index da962cff9d98..49dd9aef75c2 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -164,7 +164,7 @@ namespace dbaui
virtual OUString SAL_CALL getDestinationTableName() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setDestinationTableName( const OUString& _destinationTableName ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual Optional< OUString > SAL_CALL getCreatePrimaryKey() throw (RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, SQLException, RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL getUseHeaderLineAsColumnNames() throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setUseHeaderLineAsColumnNames( sal_Bool _bUseHeaderLineAsColumnNames ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL addCopyTableListener( const Reference< XCopyTableListener >& Listener ) throw (RuntimeException, std::exception) SAL_OVERRIDE;
@@ -492,7 +492,7 @@ Optional< OUString > SAL_CALL CopyTableWizard::getCreatePrimaryKey() throw (Runt
return m_aPrimaryKeyName;
}
-void SAL_CALL CopyTableWizard::setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL CopyTableWizard::setCreatePrimaryKey( const Optional< OUString >& _newPrimaryKey ) throw (IllegalArgumentException, SQLException, RuntimeException, std::exception)
{
CopyTableAccessGuard aGuard( *this );