diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-30 09:06:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-30 09:59:47 +0100 |
commit | 9e09827b0111b2acd8c2b78369ed46a5732931aa (patch) | |
tree | eceb06fe751463b1e51a7e49ac304b3449f0d3b3 /include/vcl | |
parent | 6c76ade9516ada09222a18af69eb381b2e859b24 (diff) |
these are equal to the defaults
Change-Id: Ib1ab02264b7fc68af880c90f20d3244e42dab090
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/alpha.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx index 2445cf2bbec7..56c72eb16077 100644 --- a/include/vcl/alpha.hxx +++ b/include/vcl/alpha.hxx @@ -33,12 +33,11 @@ public: AlphaMask(); AlphaMask( const Bitmap& rBitmap ); - AlphaMask( const AlphaMask& rAlphaMask ); + AlphaMask( const AlphaMask& rAlphaMask ) = default; AlphaMask( const Size& rSizePixel, sal_uInt8* pEraseTransparency = nullptr ); - virtual ~AlphaMask() override; AlphaMask& operator=( const Bitmap& rBitmap ); - AlphaMask& operator=( const AlphaMask& rAlphaMask ) { return static_cast<AlphaMask&>( Bitmap::operator=( rAlphaMask ) ); } + AlphaMask& operator=( const AlphaMask& rAlphaMask ) = default; bool operator!() const { return Bitmap::operator!(); } bool operator==( const AlphaMask& rAlphaMask ) const { return Bitmap::operator==( rAlphaMask ); } bool operator!=( const AlphaMask& rAlphaMask ) const { return Bitmap::operator!=( rAlphaMask ); } |