summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-24 13:55:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-19 18:20:54 +0200
commit538760dc0c9baaf0e15abefe4aae32448ba61592 (patch)
tree59ac15ef8342202ce6b270abd431ede200b11f7d /sw/source
parente85446fe39edffa34383a84bb8b0821769bd5f71 (diff)
warning C4702: unreachable code
Change-Id: Ia3e119e1b9ac68fbdd9aa4a9a5177e28c1a0d605 (cherry picked from commit b265709fbf9ff9f03645cbcbbc441699402c73a8)
Diffstat (limited to 'sw/source')
-rwxr-xr-x[-rw-r--r--]sw/source/core/doc/dbgoutsw.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index b14e07d0cd7f..ad42cff7539d 100644..100755
--- 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)