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-07-24 13:55:49 +0200
commitb265709fbf9ff9f03645cbcbbc441699402c73a8 (patch)
tree6f3340339a51c1d1ac6516f8d3890bac26fcf402 /sw/source
parentda5220d7d2707dd87e3f322141edc5f3ccbe1df4 (diff)
warning C4702: unreachable code
Change-Id: Ia3e119e1b9ac68fbdd9aa4a9a5177e28c1a0d605
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 89bc16e6b956..aa6c9e855e90 100644..100755
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -974,12 +974,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)