summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-04-02 06:09:02 +0000
committerOcke Janssen <oj@openoffice.org>2002-04-02 06:09:02 +0000
commitb173512c75eeefa637c71b14318b02d89864620c (patch)
tree8556c946c2d75cac69622d5942e61a90c5d0667f /dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
parentd8d01bbcce117c455f3d12398906f3e1c347142a (diff)
show more precise error messages
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryViewSwitch.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
index 802c8fb6529d..b0ec3b22effa 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.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: oj $ $Date: 2002-03-21 07:00:01 $
+ * last change: $Author: oj $ $Date: 2002-04-02 07:09:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -291,6 +291,7 @@ void OQueryViewSwitch::switchView()
}
else
{
+ ::rtl::OUString sOldStatement = static_cast<OQueryController*>(m_pDesignView->getController())->getStatement();
// we have to stop the sqledit from our textview
m_pTextView->getSqlEdit()->stopTimer();
getAddTableDialog()->Update();