summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-09-27 05:19:05 +0000
committerOcke Janssen <oj@openoffice.org>2001-09-27 05:19:05 +0000
commit7548d773fdf47d1b35e94233f7f959328228c8c7 (patch)
treead0a995c7c346a469abf8e1ad3e43b3cc239b769 /dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
parent139a81d38af7ea45640fcdf1a8e70a43fdc52cfe (diff)
#92325# impl new sql functions
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx11
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())