sw/source/core/doc/dbgoutsw.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 538760dc0c9baaf0e15abefe4aae32448ba61592
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Jul 24 13:55:49 2012 +0200

    warning C4702: unreachable code
    
    Change-Id: Ia3e119e1b9ac68fbdd9aa4a9a5177e28c1a0d605
    (cherry picked from commit b265709fbf9ff9f03645cbcbbc441699402c73a8)

diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
old mode 100644
new mode 100755
index b14e07d..ad42cff
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -973,12 +973,9 @@ String lcl_TokenType2Str(FormTokenType nType)
     case TOKEN_END:
         return String("END", RTL_TEXTENCODING_ASCII_US);
     default:
+        OSL_FAIL("should not be reached");
         return String("??", RTL_TEXTENCODING_ASCII_US);
     }
-
-    OSL_FAIL("should not be reached");
-
-    return  String("??", RTL_TEXTENCODING_ASCII_US);
 }
 
 String lcl_dbg_out(const SwFormToken & rToken)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to