coverity#736061 Missing break in switch
Change-Id: I764ff930af91d1de9a9b2dc0eb1b6005e0dd83db
This commit is contained in:
@@ -313,6 +313,7 @@ static void AddUnitPropertyValue(OStringBuffer &rOut, long nVal,
|
|||||||
case FUNIT_M:
|
case FUNIT_M:
|
||||||
case FUNIT_KM:
|
case FUNIT_KM:
|
||||||
OSL_ENSURE( FUNIT_CM == eUnit, "Measuring unit not supported" );
|
OSL_ENSURE( FUNIT_CM == eUnit, "Measuring unit not supported" );
|
||||||
|
//fall-through
|
||||||
case FUNIT_CM:
|
case FUNIT_CM:
|
||||||
// 0.01cm = 5.7twip (not exact, but the UI is also not exact)
|
// 0.01cm = 5.7twip (not exact, but the UI is also not exact)
|
||||||
nMul = 2540; // 2.54 * 1000
|
nMul = 2540; // 2.54 * 1000
|
||||||
|
Reference in New Issue
Block a user