summaryrefslogtreecommitdiff
path: root/sw/source/ui/ribbar
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-02-08 11:05:35 +0100
committerCarsten Driesner <cd@openoffice.org>2011-02-08 11:05:35 +0100
commit40bb208a5db70bd9ab1b877c911f537e4cb68afc (patch)
treef52c3a57845b187e04ec6e9bab70b82475ba0d26 /sw/source/ui/ribbar
parent74330efc82463a2846c994e91b08ed18fc079fff (diff)
removetooltypes01: Fix build problems after rebase to DEV300m99 in basctl, cui, reportdesign, sw
Diffstat (limited to 'sw/source/ui/ribbar')
-rwxr-xr-xsw/source/ui/ribbar/inputwin.cxx6
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() )
{