summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-26 09:42:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-26 10:18:26 +0100
commitd7e96dc7475f320dba563f1061b3348c2648f95a (patch)
tree79440cd06f29743df3f1e802b891e07a6f81c8b3
parentc5802b51c0707adffd7b7e261aa2d82f459674bf (diff)
coverity#736061 Missing break in switch
Change-Id: I764ff930af91d1de9a9b2dc0eb1b6005e0dd83db
-rw-r--r--sw/source/filter/html/css1atr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index f2dd202aa18e..d0674a2e1315 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -313,6 +313,7 @@ static void AddUnitPropertyValue(OStringBuffer &rOut, long nVal,
case FUNIT_M:
case FUNIT_KM:
OSL_ENSURE( FUNIT_CM == eUnit, "Measuring unit not supported" );
+ //fall-through
case FUNIT_CM:
// 0.01cm = 5.7twip (not exact, but the UI is also not exact)
nMul = 2540; // 2.54 * 1000