diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-18 11:46:12 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-18 12:03:52 +1100 |
commit | abce63857daf59fcd9d8287bcf59e784e3b33b98 (patch) | |
tree | cee73cc582477bd53e746282b861c15cd7616ef8 | |
parent | b5dd21e11fd5f27527bdd70c4aab400561c77305 (diff) |
vcl: make all members of ImplAnimView private
I'm making Animation a friend class of ImplAnimView. Nothing should be using
ImplAnimView other than Animation - so to enforce this I'm making all member
functions private. This is part of general cleanup of vcl's Animation.
Change-Id: Ib4746d31c14b1b2caeed61cae99c61fca0e02abc
-rw-r--r-- | vcl/source/gdi/impanmvw.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/gdi/impanmvw.hxx b/vcl/source/gdi/impanmvw.hxx index bf3545b06f95..2ee3591d7578 100644 --- a/vcl/source/gdi/impanmvw.hxx +++ b/vcl/source/gdi/impanmvw.hxx @@ -31,6 +31,8 @@ class ImplAnimView { private: + friend class Animation; + Animation* mpParent; OutputDevice* mpOut; long mnExtraData; @@ -55,8 +57,8 @@ private: void ImplGetPosSize( const AnimationBitmap& rAnm, Point& rPosPix, Size& rSizePix ); void ImplDraw( sal_uLong nPos, VirtualDevice* pVDev ); -public: +private: ImplAnimView( Animation* pParent, OutputDevice* pOut, const Point& rPt, const Size& rSz, sal_uLong nExtraData, OutputDevice* pFirstFrameOutDev = NULL ); |