diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 14:00:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-23 13:08:48 +0200 |
commit | 79ed057b955a8d23e8289b9a5898c8bdaebabbfa (patch) | |
tree | 0b512b13f7b59e12a44395ea50814fda15902f04 /filter/source | |
parent | 12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (diff) |
loplugin:staticmethods
Change-Id: I6207b475127099872c6f3764331006688129b673
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/graphicfilter/epict/epict.cxx | 10 | ||||
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 6 | ||||
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.hxx | 10 |
3 files changed, 13 insertions, 13 deletions
diff --git a/filter/source/graphicfilter/epict/epict.cxx b/filter/source/graphicfilter/epict/epict.cxx index e9a7568a9bbd..93d7e290af6c 100644 --- a/filter/source/graphicfilter/epict/epict.cxx +++ b/filter/source/graphicfilter/epict/epict.cxx @@ -111,7 +111,7 @@ private: // counts the bitmaps and actions (nNumberOfActions and nNumberOfBitmaps // have to be set to 0 at the beginning, since this method is recursive) - Polygon PolyPolygonToPolygon(const tools::PolyPolygon & rPoly); + static Polygon PolyPolygonToPolygon(const tools::PolyPolygon & rPoly); // generates a relatively sane polygon on the basis of a PolyPolygon Rectangle MapRectangle( const Rectangle& rRect ); @@ -123,8 +123,8 @@ private: void WritePolygon(const Polygon & rPoly); void WriteArcAngles(const Rectangle & rRect, const Point & rStartPt, const Point & rEndPt); - void ConvertLinePattern(PictPattern & rPat, bool bVisible) const; - void ConvertFillPattern(PictPattern & rPat, bool bVisible) const; + static void ConvertLinePattern(PictPattern & rPat, bool bVisible); + static void ConvertFillPattern(PictPattern & rPat, bool bVisible); void WriteOpcode_TxFace(const vcl::Font & rFont); void WriteOpcode_TxMode(RasterOp eMode); @@ -415,7 +415,7 @@ void PictWriter::WriteArcAngles(const Rectangle & rRect, const Point & rStartPt, } -void PictWriter::ConvertLinePattern(PictPattern & rPat, bool bVisible) const +void PictWriter::ConvertLinePattern(PictPattern & rPat, bool bVisible) { if( bVisible ) { @@ -429,7 +429,7 @@ void PictWriter::ConvertLinePattern(PictPattern & rPat, bool bVisible) const } } -void PictWriter::ConvertFillPattern(PictPattern & rPat, bool bVisible) const +void PictWriter::ConvertFillPattern(PictPattern & rPat, bool bVisible) { if( bVisible ) { diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index edd7061a13d0..cfe790a290f3 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -224,10 +224,10 @@ private: inline void ImplWriteTextColor( sal_uLong nMode = PS_RET ); void ImplWriteColor( sal_uLong nMode ); - double ImplGetScaling( const MapMode& ); + static double ImplGetScaling( const MapMode& ); void ImplGetMapMode( const MapMode& ); - bool ImplGetBoundingBox( double* nNumb, sal_uInt8* pSource, sal_uLong nSize ); - sal_uInt8* ImplSearchEntry( sal_uInt8* pSource, sal_uInt8 const * pDest, sal_uLong nComp, sal_uLong nSize ); + static bool ImplGetBoundingBox( double* nNumb, sal_uInt8* pSource, sal_uLong nSize ); + static sal_uInt8* ImplSearchEntry( sal_uInt8* pSource, sal_uInt8 const * pDest, sal_uLong nComp, sal_uLong nSize ); // LZW methods void StartCompression(); void Compress( sal_uInt8 nSrc ); diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index c03b8910cfa3..1ee13eaf9a6b 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -94,11 +94,11 @@ class CGM sal_uInt32 mnElementSize; // full parameter size for the latest action sal_uInt32 ImplGetUI16( sal_uInt32 nAlign = 0 ); - sal_uInt8 ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ); + static sal_uInt8 ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ); sal_Int32 ImplGetI( sal_uInt32 nPrecision ); sal_uInt32 ImplGetUI( sal_uInt32 nPrecision ); - void ImplGetSwitch4( sal_uInt8* pSource, sal_uInt8* pDest ); - void ImplGetSwitch8( sal_uInt8* pSource, sal_uInt8* pDest ); + static void ImplGetSwitch4( sal_uInt8* pSource, sal_uInt8* pDest ); + static void ImplGetSwitch8( sal_uInt8* pSource, sal_uInt8* pDest ); double ImplGetFloat( RealPrecision, sal_uInt32 nRealSize ); sal_uInt32 ImplGetBitmapColor( bool bDirectColor = false ); void ImplSetMapMode(); @@ -115,8 +115,8 @@ class CGM void ImplGetRectangle( FloatRect&, bool bMap = false ); void ImplGetRectangleNS( FloatRect& ); void ImplGetVector( double* ); - double ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint ); - void ImplSwitchStartEndAngle( double& rStartAngle, double& rEndAngle ); + static double ImplGetOrientation( FloatPoint& rCenter, FloatPoint& rPoint ); + static void ImplSwitchStartEndAngle( double& rStartAngle, double& rEndAngle ); bool ImplGetEllipse( FloatPoint& rCenter, FloatPoint& rRadius, double& rOrientation ); void ImplDefaultReplacement(); |