From 725150f4ad8bcbe4c9706eea264238c1e3159915 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 17 Nov 2014 21:55:47 +1100 Subject: vcl: remove AnimationBitmapList_impl typedef Severe overuse of typedefs makes baby Torvalds sad. :-) AnimationBitmapList_impl is just a typedef to a vector of AnimationBitmap pointers. It's used precisely once in the code - in animate.hxx. This just makes reading the code more difficult - too many layers of abstraction. Change-Id: If84892dc90220c7dfe8c071d629268efa226f069 --- include/vcl/animate.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx index 25f10f0c3ce7..dae31a9e05ea 100644 --- a/include/vcl/animate.hxx +++ b/include/vcl/animate.hxx @@ -122,7 +122,6 @@ struct AInfo }; class ImplAnimView; -typedef ::std::vector< AnimationBitmap* > AnimationBitmapList_impl; typedef ::std::vector< ImplAnimView* > AnimViewList_impl; class VCL_DLLPUBLIC Animation @@ -218,7 +217,7 @@ public: private: SAL_DLLPRIVATE static sal_uLong mnAnimCount; - AnimationBitmapList_impl maList; + std::vector< AnimationBitmap* >maList; AnimViewList_impl maViewList; Link maNotifyLink; -- cgit