diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-04-30 12:02:01 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-04-30 12:02:01 +0000 |
commit | d779ea83508b3146c4d0ee37bf22b3a34a59a518 (patch) | |
tree | d44b8739cc0f12deb77d33aa215d0e17c6dc8251 /dbaccess/source/ui/querydesign/QueryDesignView.cxx | |
parent | 0f1ce61d1626bb8853654a3a352ef8d6a0063122 (diff) |
#86515# check undo actions
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryDesignView.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 12 |
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(); |