summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-07 11:14:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-07 12:24:42 +0000
commit710a7dd475df5a68641ef1d4966178e739474a3e (patch)
tree72aa69604d34aeb812265a39d1229569bca83d04 /sw/source
parent50838ed959c309cbaf04b9e7f7032337f8461f80 (diff)
coverity#1158167 Missing break in switch
Change-Id: I33f19229ebaa96aa7dffb3348dbe382fb813561f
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/edit/autofmt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 96df66d13af0..4ca35f45d2d9 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -1995,6 +1995,7 @@ void SwAutoFormat::AutoCorrect( sal_Int32 nPos )
case '?':
if( aFlags.bCptlSttSntnc )
bFirstSent = sal_True;
+ /* fallthrough */
default:
if( !( rAppCC.isLetterNumeric( *pTxt, nPos )
|| '/' == cChar )) // '/' should not be a word separator (e.g. '1/2' needs to be handled as one word for replacement)