diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryTextView.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryTextView.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx index 9805c2aca62e..d08de914530d 100644 --- a/dbaccess/source/ui/querydesign/QueryTextView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx @@ -26,15 +26,13 @@ #include <undosqledit.hxx> using namespace dbaui; -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; // end of temp classes OQueryTextView::OQueryTextView(OQueryContainerWindow* pParent, OQueryController& rController) - : InterimItemWindow(pParent, "dbaccess/ui/queryview.ui", "QueryView") + : InterimItemWindow(pParent, u"dbaccess/ui/queryview.ui"_ustr, u"QueryView"_ustr) , m_rController(rController) - , m_xSQL(new SQLEditView(m_xBuilder->weld_scrolled_window("scrolledwindow", true))) - , m_xSQLEd(new weld::CustomWeld(*m_xBuilder, "sql", *m_xSQL)) + , m_xSQL(new SQLEditView(m_xBuilder->weld_scrolled_window(u"scrolledwindow"_ustr, true))) + , m_xSQLEd(new weld::CustomWeld(*m_xBuilder, u"sql"_ustr, *m_xSQL)) , m_timerUndoActionCreation("dbaccess OQueryTextView m_timerUndoActionCreation") , m_timerInvalidate("dbaccess OQueryTextView m_timerInvalidate") , m_bStopTimer(false) @@ -42,6 +40,7 @@ OQueryTextView::OQueryTextView(OQueryContainerWindow* pParent, OQueryController& m_xSQL->DisableInternalUndo(); m_xSQL->SetHelpId(HID_CTL_QRYSQLEDIT); m_xSQL->SetModifyHdl(LINK(this, OQueryTextView, ModifyHdl)); + m_xSQL->SetAcceptsTab(true); m_timerUndoActionCreation.SetTimeout(1000); m_timerUndoActionCreation.SetInvokeHandler(LINK(this, OQueryTextView, OnUndoActionTimer)); |