diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 13:38:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 13:50:26 +0200 |
commit | 414a66587b73dfc69c121118e9a6337de4e843d2 (patch) | |
tree | 425457f56fc3454bcea051b702fb8fa7340eea34 /dbaccess/source/ui/querydesign | |
parent | 960d4ebf76d3e7c757d2625a1e52a22556da9d40 (diff) |
convert StandardSQLState to scoped enum
Change-Id: Ia0a1526140cfed35a73a6fea1a173d2fb5005960
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryTableView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index ab8fcda1b419..0fa5f28b9201 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -949,7 +949,7 @@ bool OQueryTableView::ExistsAVisitedConn(const OQueryTableWindow* pFrom) const void OQueryTableView::onNoColumns_throw() { OUString sError( ModuleRes( STR_STATEMENT_WITHOUT_RESULT_SET ) ); - ::dbtools::throwSQLException( sError, ::dbtools::SQL_GENERAL_ERROR, nullptr ); + ::dbtools::throwSQLException( sError, ::dbtools::StandardSQLState::GENERAL_ERROR, nullptr ); } bool OQueryTableView::supressCrossNaturalJoin(const TTableConnectionData::value_type& _pData) const |