diff -up DEV300_m35/sw/source/core/undo/docundo.cxx.orig DEV300_m35/sw/source/core/undo/docundo.cxx --- DEV300_m35/sw/source/core/undo/docundo.cxx.orig 2008-11-06 09:55:07.000000000 +0100 +++ DEV300_m35/sw/source/core/undo/docundo.cxx 2008-11-06 09:55:23.000000000 +0100 @@ -747,12 +747,6 @@ SwUndoIdAndName * lcl_GetUndoIdAndName(c sStr = pUndo->GetComment(); } - if( sStr.Len() > 82 ) - { - String sTmpStr("...", RTL_TEXTENCODING_ASCII_US); - sStr.Erase( 80 ); - sStr += sTmpStr; - } return new SwUndoIdAndName(nId, &sStr); } diff -up DEV300_m35/sw/source/core/undo/undel.cxx.orig DEV300_m35/sw/source/core/undo/undel.cxx --- DEV300_m35/sw/source/core/undo/undel.cxx.orig 2008-11-04 10:13:54.000000000 +0100 +++ DEV300_m35/sw/source/core/undo/undel.cxx 2008-11-06 09:55:59.000000000 +0100 @@ -595,6 +595,8 @@ SwRewriter SwUndoDelete::GetRewriter() c aStr = UNDO_ARG2; } } + aStr = ShortenString(aStr, nUndoStringLength, + String(SW_RES(STR_LDOTS))); if (pHistory) { @@ -602,11 +604,6 @@ SwRewriter SwUndoDelete::GetRewriter() c aStr = aRewriter.Apply(aStr); } - else - { - aStr = ShortenString(aStr, nUndoStringLength, - String(SW_RES(STR_LDOTS))); - } aResult.AddRule(UNDO_ARG1, aStr); }