[PATCH] fdo#37277: Fixed the ugly undo hack in SwInputWindow

Cédric Bosdonnat cedric.bosdonnat.ooo at free.fr
Tue May 17 07:30:59 PDT 2011


bug introduced by this commit: c3d4c1f2dc11b9ba88bffb54dd518e8c7e11108b
---
 sw/source/ui/ribbar/inputwin.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sw/source/ui/ribbar/inputwin.cxx b/sw/source/ui/ribbar/inputwin.cxx
index a2be684..992aa94 100644
--- a/sw/source/ui/ribbar/inputwin.cxx
+++ b/sw/source/ui/ribbar/inputwin.cxx
@@ -165,6 +165,7 @@ void SwInputWindow::CleanupUglyHackWithUndo()
         {
             SW_MOD()->GetUndoOptions().SetUndoCount(0);
         }
+        m_bResetUndo = sal_False;
     }
 }
 
-- 
1.7.3.4


--=-Kh5kao/OtRx9C520eC+1--



More information about the LibreOffice mailing list