summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryDesignView.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-04-30 12:02:01 +0000
committerOcke Janssen <oj@openoffice.org>2001-04-30 12:02:01 +0000
commitd779ea83508b3146c4d0ee37bf22b3a34a59a518 (patch)
treed44b8739cc0f12deb77d33aa215d0e17c6dc8251 /dbaccess/source/ui/querydesign/QueryDesignView.cxx
parent0f1ce61d1626bb8853654a3a352ef8d6a0063122 (diff)
#86515# check undo actions
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryDesignView.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index d03466b44650..94a53c2ba3ed 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: QueryDesignView.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: oj $ $Date: 2001-04-18 13:16:33 $
+ * last change: $Author: oj $ $Date: 2001-04-30 13:02:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -213,7 +213,7 @@ void OQueryDesignView::initialize()
m_aSplitter.SetSplitPosPixel(static_cast<OQueryController*>(getController())->getSplitPos());
}
m_pSelectionBox->initialize();
- m_pSelectionBox->ClearAll();
+ m_pSelectionBox->PreFill();
m_pSelectionBox->SetReadOnly(static_cast<OQueryController*>(getController())->isReadOnly());
m_pSelectionBox->Fill();
}
@@ -273,9 +273,9 @@ void OQueryDesignView::setReadOnly(sal_Bool _bReadOnly)
// -----------------------------------------------------------------------------
void OQueryDesignView::clear()
{
- SfxUndoManager* pUndoMgr = static_cast<OQueryController*>(getController())->getUndoMgr();
+
m_pSelectionBox->ClearAll(); // clear the whole selection
- m_pSelectionBox->Fill(); // fill with empty the fields
+ // m_pSelectionBox->Fill(); // fill with empty the fields
m_pTableView->ClearAll();
}
// -----------------------------------------------------------------------------
@@ -1867,7 +1867,7 @@ sal_Bool OQueryDesignView::isSlotEnabled(sal_Int32 _nSlotId)
// -----------------------------------------------------------------------------
void OQueryDesignView::InitFromParseNode()
{
- m_pSelectionBox->ClearAll();
+ m_pSelectionBox->PreFill();
m_pSelectionBox->Fill();
::connectivity::OSQLParseTreeIterator& aIterator = static_cast<OQueryController*>(getController())->getParseIterator();