diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-02-08 11:05:35 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-02-08 11:05:35 +0100 |
commit | 40bb208a5db70bd9ab1b877c911f537e4cb68afc (patch) | |
tree | f52c3a57845b187e04ec6e9bab70b82475ba0d26 /sw/source/ui/ribbar | |
parent | 74330efc82463a2846c994e91b08ed18fc079fff (diff) |
removetooltypes01: Fix build problems after rebase to DEV300m99 in basctl, cui, reportdesign, sw
Diffstat (limited to 'sw/source/ui/ribbar')
-rwxr-xr-x | sw/source/ui/ribbar/inputwin.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/ui/ribbar/inputwin.cxx b/sw/source/ui/ribbar/inputwin.cxx index d205e8650f43..fe148ff04841 100755 --- a/sw/source/ui/ribbar/inputwin.cxx +++ b/sw/source/ui/ribbar/inputwin.cxx @@ -255,9 +255,11 @@ void SwInputWindow::ShowWin() SW_MOD()->GetUndoOptions().SetUndoCount(1); } - bDoesUndo = pWrtShell->DoesUndo(); - if( !bDoesUndo ) + m_bDoesUndo = pWrtShell->DoesUndo(); + if( !m_bDoesUndo ) + { pWrtShell->DoUndo( sal_True ); + } if( !pWrtShell->SwCrsrShell::HasSelection() ) { |