From d6c28b11e51d08be2555ba7371d9bbb063aae9af Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Feb 2016 11:09:09 +0200 Subject: convert OSQLStatementType to scoped enum Change-Id: I2df117cf0f405e88899e7ccab380156284720449 --- dbaccess/source/ui/querydesign/querycontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess/source/ui/querydesign/querycontroller.cxx') diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index d969277f8af3..9374ef3de951 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -628,7 +628,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& else { const OSQLTables& xTabs = m_pSqlIterator->getTables(); - if ( m_pSqlIterator->getStatementType() != SQL_STATEMENT_SELECT || xTabs.begin() == xTabs.end() ) + if ( m_pSqlIterator->getStatementType() != OSQLStatementType::Select || xTabs.begin() == xTabs.end() ) { aError = SQLException( OUString( ModuleRes( STR_QRY_NOSELECT ) ), -- cgit