summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-11-18 11:46:12 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2014-11-18 12:03:52 +1100
commitabce63857daf59fcd9d8287bcf59e784e3b33b98 (patch)
treecee73cc582477bd53e746282b861c15cd7616ef8 /vcl/source
parentb5dd21e11fd5f27527bdd70c4aab400561c77305 (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
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/impanmvw.hxx4
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 );