diff options
author | Michael Stahl <mstahl@redhat.com> | 2011-11-18 13:57:02 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2011-11-18 22:24:18 +0100 |
commit | 0fbd0bbfecda7b0a4642c2cbe8ea80027265192d (patch) | |
tree | 23ae6ac760a27a4517bdb929c2da0dad03d00aaf /sw | |
parent | ComponentTarget: do not generate broken component files (diff) | |
download | core-0fbd0bbfecda7b0a4642c2cbe8ea80027265192d.tar.gz core-0fbd0bbfecda7b0a4642c2cbe8ea80027265192d.zip |
SwWrtShell::GetDoStrings: bogus assertion
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/wrtsh/wrtundo.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/wrtsh/wrtundo.cxx b/sw/source/ui/wrtsh/wrtundo.cxx index 5ec7103246a7..ff6aea34bcbb 100644 --- a/sw/source/ui/wrtsh/wrtundo.cxx +++ b/sw/source/ui/wrtsh/wrtundo.cxx @@ -56,7 +56,7 @@ void SwWrtShell::Do( DoType eDoType, sal_uInt16 nCnt ) sal_Bool bSaveDoesUndo = DoesUndo(); StartAllAction(); - switch( eDoType ) + switch (eDoType) { case UNDO: DoUndo(sal_False); // #i21739# @@ -156,7 +156,6 @@ sal_uInt16 SwWrtShell::GetDoStrings( DoType eDoType, SfxStringListItem& rStrs ) OSL_ENSURE(comments[i].getLength(), "no Undo/Redo Text set"); buf.append(comments[i]); buf.append(sal_Unicode('\n')); - OSL_ENSURE( !this, "no Undo/Redo Test set" ); } rStrs.SetString(buf.makeStringAndClear()); return static_cast<sal_uInt16>(comments.size()); |