summaryrefslogtreecommitdiff
path: root/vcl/inc/wall2.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/wall2.hxx')
-rw-r--r--vcl/inc/wall2.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/wall2.hxx b/vcl/inc/wall2.hxx
index 59f2ebb2bc66..52393dd937a4 100644
--- a/vcl/inc/wall2.hxx
+++ b/vcl/inc/wall2.hxx
@@ -25,19 +25,19 @@ class ImplWallpaper
friend class Wallpaper;
private:
- Color maColor;
- BitmapEx* mpBitmap;
- Gradient* mpGradient;
- Rectangle* mpRect;
+ Color maColor;
+ std::unique_ptr<BitmapEx> mpBitmap;
+ std::unique_ptr<Gradient> mpGradient;
+ std::unique_ptr<Rectangle> mpRect;
WallpaperStyle meStyle;
- BitmapEx* mpCache;
+ std::unique_ptr<BitmapEx> mpCache;
public:
ImplWallpaper();
ImplWallpaper( const ImplWallpaper& rImplWallpaper );
~ImplWallpaper();
- bool operator==( const ImplWallpaper& rImplWallpaper ) const;
+ bool operator==( const ImplWallpaper& rImplWallpaper ) const = delete;
friend SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper );
friend SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpaper );