From 6250f61fc8b87aacaec2c48c7751f15e9222fa2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 1 Oct 2014 17:01:36 +0100 Subject: [PATCH] coverity#1242472 Identical code for different branches Change-Id: I32a74aa1ad42b975bca4b13403d261fd31deb8dd --- filter/source/graphicfilter/icgm/class5.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/filter/source/graphicfilter/icgm/class5.cxx b/filter/source/graphicfilter/icgm/class5.cxx index 5e6fdb2f85f4..86237a5413e4 100644 --- a/filter/source/graphicfilter/icgm/class5.cxx +++ b/filter/source/graphicfilter/icgm/class5.cxx @@ -55,9 +55,7 @@ void CGM::ImplDoClass5() else nWidth = (sal_uInt32)ImplGetFloat( pElement->eRealPrecision, pElement->nRealSize ) * 25; // scaling in 1/4 mm - ( pElement->nAspectSourceFlags & ASF_LINEWIDTH ) - ? pElement->aLineBundle.nLineWidth = nWidth - : pElement->aLineBundle.nLineWidth = nWidth; + pElement->aLineBundle.nLineWidth = nWidth; } break; case 0x04 : /*Line Color*/