summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-10-15 12:42:05 +0000
committerOcke Janssen <oj@openoffice.org>2001-10-15 12:42:05 +0000
commit41265f2b9da640b2653ddf5c19895836782a4f31 (patch)
treeddefb6d51651421dbab5a842e66644e123516914 /dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
parent316464c99112f57e078a13ceaaf83eab00aceaa1 (diff)
#93144# check slots before displaying
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
index 2c617544c77e..4ae2ba9606e6 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.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: oj $ $Date: 2001-09-27 06:19:01 $
+ * last change: $Author: oj $ $Date: 2001-10-15 13:42:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -128,8 +128,7 @@ void OQueryViewSwitch::Construct()
void OQueryViewSwitch::initialize()
{
m_pDesignView->initialize();
- if (static_cast<OQueryController*>(m_pDesignView->getController())->isDesignMode())
- switchView();
+ switchView();
}
// -------------------------------------------------------------------------
void OQueryViewSwitch::resizeDocumentView(Rectangle& _rPlayground)