diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-14 18:22:39 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-16 07:33:52 +1000 |
commit | ecafbfe819c5026714b25a31f0bb9e72b16f7e25 (patch) | |
tree | ec4adaec065bc46f381215d26b7c781e29bdec48 /include | |
parent | 96cdea537fadab0e927ab98e2a6ff3216315ee7e (diff) |
Change acessibility level for private functions
The following functions should be private members functions of OutputDevice:
* DrawComplexGradient
* DrawLinearGradient
These were previously called ImplDrawComplexGradient and
ImplDrawLinearGradient.
Change-Id: I4fc996ddd578bca6738128fcc883709359534c95
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 8dab29999693..3e4f265fdcad 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -693,16 +693,27 @@ public: // without MetaFile processing SAL_DLLPRIVATE void ImplDrawPolyPolygonWithB2DPolyPolygon(const basegfx::B2DPolyPolygon& rB2DPolyPoly); - +private: ///@} /** @name Gradient functions */ ///@{ - SAL_DLLPRIVATE void ImplDrawLinearGradient( const Rectangle& rRect, const Gradient& rGradient, bool bMtf, const PolyPolygon* pClipPolyPoly ); - SAL_DLLPRIVATE void ImplDrawComplexGradient( const Rectangle& rRect, const Gradient& rGradient, bool bMtf, const PolyPolygon* pClipPolyPoly ); + SAL_DLLPRIVATE void DrawLinearGradient( const Rectangle& rRect, const Gradient& rGradient, bool bMtf, const PolyPolygon* pClipPolyPoly ); + SAL_DLLPRIVATE void DrawComplexGradient( const Rectangle& rRect, const Gradient& rGradient, bool bMtf, const PolyPolygon* pClipPolyPoly ); + +public: + + void DrawGradient( const Rectangle& rRect, const Gradient& rGradient ); + void DrawGradient( const PolyPolygon& rPolyPoly, const Gradient& rGradient ); + void AddGradientActions( + const Rectangle& rRect, + const Gradient& rGradient, + GDIMetaFile& rMtf ); + ///@} +public: /** @name Hatch functions */ ///@{ @@ -1102,12 +1113,6 @@ public: void DrawImage( const Point& rPos, const Size& rSize, const Image& rImage, sal_uInt16 nStyle = 0 ); - void DrawGradient( const Rectangle& rRect, const Gradient& rGradient ); - void DrawGradient( const PolyPolygon& rPolyPoly, const Gradient& rGradient ); - void AddGradientActions( const Rectangle& rRect, - const Gradient& rGradient, - GDIMetaFile& rMtf ); - #ifdef _MSC_VER void DrawHatch( const PolyPolygon& rPolyPoly, const ::Hatch& rHatch ); void AddHatchActions( const PolyPolygon& rPolyPoly, |