[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Fri Jul 21 10:33:20 UTC 2017


 sw/source/core/undo/undobj.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c7007aeb46e7598baab854b9bb0c35712bbe5518
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 21 11:21:25 2017 +0100

    despite the comment and missing translation, REDLINE undo comment gets used
    
    during CppunitTest_sw_tiledrendering at least
    
    Change-Id: I0de400443858926d7e2041934bbab61ade214c71

diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index c3e33da510e8..af558e0d4bd9 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -361,8 +361,8 @@ OUString GetUndoComment(SwUndoId eId)
             pId = STR_CHANGEFTN;
             break;
         case SwUndoId::REDLINE:
-            /* !! sollte NIE gebraucht/uebersetzt werden !! */
-            break;
+            SAL_WARN("sw.core", "Should NEVER be used/translated");
+            return OUString();
         case SwUndoId::ACCEPT_REDLINE:
             pId = STR_ACCEPT_REDLINE;
             break;


More information about the Libreoffice-commits mailing list