diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/directsql.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/directsql.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx index 0b65295bc8c3..1ced37e208db 100644 --- a/dbaccess/source/ui/dlg/directsql.cxx +++ b/dbaccess/source/ui/dlg/directsql.cxx @@ -193,7 +193,7 @@ namespace dbaui m_pOutput->SetText(OUString()); if (xStatement.is()) { - if (OUString(_rStatement).toAsciiUpperCase().startsWith("SELECT") && m_pShowOutput->IsChecked()) + if (_rStatement.toAsciiUpperCase().startsWith("SELECT") && m_pShowOutput->IsChecked()) { // execute it as a query xResultSet = xStatement->executeQuery(_rStatement); @@ -220,7 +220,7 @@ namespace dbaui { } // report the output - addOutputText(OUString(out)); + addOutputText(out); } } else { // execute it |