diff options
Diffstat (limited to 'filter/source/graphicfilter')
-rw-r--r-- | filter/source/graphicfilter/icgm/bundles.cxx | 4 | ||||
-rw-r--r-- | filter/source/graphicfilter/ipict/shape.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx index c1b6277c88c1..6754b9bccaf2 100644 --- a/filter/source/graphicfilter/icgm/bundles.cxx +++ b/filter/source/graphicfilter/icgm/bundles.cxx @@ -128,7 +128,7 @@ void CGMFList::InsertName( sal_uInt8 const * pSource, sal_uInt32 nSize ) if ( pFound ) { pFontEntry->nFontType |= 1; - sal_uInt32 nPrev = ( pFound - pBuf.get() ); + sal_uInt32 nPrev = pFound - pBuf.get(); sal_uInt32 nToCopyOfs = 6; if ( nPrev && ( pFound[ -1 ] == '-' || pFound[ -1 ] == ' ' ) ) { @@ -148,7 +148,7 @@ void CGMFList::InsertName( sal_uInt8 const * pSource, sal_uInt32 nSize ) { pFontEntry->nFontType |= 2; - sal_uInt32 nPrev = ( pFound - pBuf.get() ); + sal_uInt32 nPrev = pFound - pBuf.get(); sal_uInt32 nToCopyOfs = 4; if ( nPrev && ( pFound[ -1 ] == '-' || pFound[ -1 ] == ' ' ) ) { diff --git a/filter/source/graphicfilter/ipict/shape.cxx b/filter/source/graphicfilter/ipict/shape.cxx index 3bdd022bb3e7..f058dcf5d87f 100644 --- a/filter/source/graphicfilter/ipict/shape.cxx +++ b/filter/source/graphicfilter/ipict/shape.cxx @@ -84,11 +84,11 @@ namespace PictReaderShape { { dest.X()+pSize.Width(), dest.Y()+pSize.Height() }, { dest.X(), dest.Y()+pSize.Height() }}; for (int w = origAvoid+1; w < origAvoid+4; w++) { - int wh = (w%4); + int wh = w%4; poly.append(B2DPoint(origPt[wh][0], origPt[wh][1])); } for (int w = origAvoid+3; w < origAvoid+6; w++) { - int wh = (w%4); + int wh = w%4; poly.append(B2DPoint(destPt[wh][0], destPt[wh][1])); } int wh = (origAvoid+1)%4; |