diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryViewSwitch.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx index 012e2d5aa14e..2c617544c77e 100644 --- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx +++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx @@ -2,9 +2,9 @@ * * $RCSfile: QueryViewSwitch.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: fs $ $Date: 2001-08-23 14:39:09 $ + * last change: $Author: oj $ $Date: 2001-09-27 06:19:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -142,6 +142,13 @@ void OQueryViewSwitch::resizeDocumentView(Rectangle& _rPlayground) _rPlayground.SetSize( Size( 0, 0 ) ); } // ----------------------------------------------------------------------------- +sal_Bool OQueryViewSwitch::checkStatement() +{ + if(m_pTextView->IsVisible()) + return m_pTextView->checkStatement(); + return m_pDesignView->checkStatement(); +} +// ----------------------------------------------------------------------------- ::rtl::OUString OQueryViewSwitch::getStatement() { if(m_pTextView->IsVisible()) |