summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-11-18 13:57:02 +0100
committerMichael Stahl <mstahl@redhat.com>2011-11-18 22:24:18 +0100
commit0fbd0bbfecda7b0a4642c2cbe8ea80027265192d (patch)
tree23ae6ac760a27a4517bdb929c2da0dad03d00aaf
parent0d09e4025ee8d8590211636ee08984ecc3821709 (diff)
SwWrtShell::GetDoStrings: bogus assertion
-rw-r--r--sw/source/ui/wrtsh/wrtundo.cxx3
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());