summaryrefslogtreecommitdiff
path: root/vcl/inc/wall2.hxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-05-02 03:16:10 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-05-04 12:23:45 +0000
commitb6f3b2b0ab9404917b7805bb89701c110b468768 (patch)
tree5e5d9ed346a1165c82bcbd20996d04f843598d80 /vcl/inc/wall2.hxx
parentc3ec547ca9762d42b8864b0872b12f3cd8999b0b (diff)
tdf#62525 vcl: use cow_wrapper for wall
Change-Id: Iaf0b288a4c40f1e471a0a59b6baf17c317810d23 Reviewed-on: https://gerrit.libreoffice.org/24575 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl/inc/wall2.hxx')
-rw-r--r--vcl/inc/wall2.hxx17
1 files changed, 7 insertions, 10 deletions
diff --git a/vcl/inc/wall2.hxx b/vcl/inc/wall2.hxx
index 60cbd687d74c..59f2ebb2bc66 100644
--- a/vcl/inc/wall2.hxx
+++ b/vcl/inc/wall2.hxx
@@ -30,20 +30,17 @@ private:
Gradient* mpGradient;
Rectangle* mpRect;
WallpaperStyle meStyle;
- sal_uLong mnRefCount;
BitmapEx* mpCache;
- friend SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper );
- friend SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpaper );
-
public:
- ImplWallpaper();
- ImplWallpaper( const ImplWallpaper& rImplWallpaper );
- ~ImplWallpaper();
+ ImplWallpaper();
+ ImplWallpaper( const ImplWallpaper& rImplWallpaper );
+ ~ImplWallpaper();
- void ImplSetCachedBitmap( BitmapEx& rBmp );
- const BitmapEx* ImplGetCachedBitmap() { return mpCache; }
- void ImplReleaseCachedBitmap();
+ bool operator==( const ImplWallpaper& rImplWallpaper ) const;
+
+ friend SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper );
+ friend SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpaper );
};
#endif // INCLUDED_VCL_INC_WALL2_HXX