diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-08-27 13:24:58 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-08-27 13:24:58 +0000 |
commit | c70fd2cc0c998df9f9d9bed38ac546c60d649d2d (patch) | |
tree | 300d365ffb01d383ae9473e1a5e3ade61d4c21df /dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx | |
parent | 26b53995540a281b68c46aba49cc53fd9e07d5d1 (diff) |
#91566# enable undo/redo for table movement
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx index b0d83447e2e53..6852acb6760b6 100644 --- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx @@ -2,9 +2,9 @@ * * $RCSfile: QueryMoveTabWinUndoAct.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2001-02-05 09:25:03 $ + * last change: $Author: oj $ $Date: 2001-08-27 14:24:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,15 +62,15 @@ #ifndef DBAUI_OQUERYMOVETABWINUNDOACT_HXX #include "QueryMoveTabWinUndoAct.hxx" #endif -#ifndef DBAUI_QUERYTABLEVIEW_HXX -#include "QueryTableView.hxx" +#ifndef DBAUI_JOINTABLEVIEW_HXX +#include "JoinTableView.hxx" #endif #ifndef DBAUI_QUERY_TABLEWINDOW_HXX #include "QTableWindow.hxx" #endif using namespace dbaui; //------------------------------------------------------------------------------ -void OQueryMoveTabWinUndoAct::TogglePosition() +void OJoinMoveTabWinUndoAct::TogglePosition() { Point ptFrameScrollPos(m_pOwner->GetHScrollBar()->GetThumbPos(), m_pOwner->GetVScrollBar()->GetThumbPos()); Point ptNext = m_pTabWin->GetPosPixel() + ptFrameScrollPos; |