summaryrefslogtreecommitdiff
path: root/include/vcl/salbtype.hxx
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-18 18:36:51 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-08-19 01:05:37 +0000
commite0b0501452e6a72ba800ae9f536d766f8111ed78 (patch)
treee9cff2cf16ad884a0a856e4552c1a8586646a2e3 /include/vcl/salbtype.hxx
parent6b7354ae66db40246a09e00aa876443057655a43 (diff)
vcl: kill 'special member functions' the compiler generates
No need to spell out otherwise auto-generated functions. Change-Id: I1d2aec552df197f6656b0a495cef22696667dc4b Reviewed-on: https://gerrit.libreoffice.org/17846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/salbtype.hxx')
-rw-r--r--include/vcl/salbtype.hxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx
index 673c28551593..9528ffaa4db0 100644
--- a/include/vcl/salbtype.hxx
+++ b/include/vcl/salbtype.hxx
@@ -105,7 +105,6 @@ private:
public:
inline BitmapColor();
- inline BitmapColor( const BitmapColor& rBitmapColor );
inline BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBlue );
inline BitmapColor( const Color& rColor );
explicit inline BitmapColor( sal_uInt8 cIndex );
@@ -114,7 +113,6 @@ public:
inline bool operator==( const BitmapColor& rBitmapColor ) const;
inline bool operator!=( const BitmapColor& rBitmapColor ) const;
- inline BitmapColor& operator=( const BitmapColor& rBitmapColor );
inline bool IsIndex() const;
@@ -276,14 +274,6 @@ inline BitmapColor::BitmapColor( sal_uInt8 cRed, sal_uInt8 cGreen, sal_uInt8 cBl
{
}
-inline BitmapColor::BitmapColor( const BitmapColor& rBitmapColor ) :
- mcBlueOrIndex ( rBitmapColor.mcBlueOrIndex ),
- mcGreen ( rBitmapColor.mcGreen ),
- mcRed ( rBitmapColor.mcRed ),
- mbIndex ( rBitmapColor.mbIndex )
-{
-}
-
inline BitmapColor::BitmapColor( const Color& rColor ) :
mcBlueOrIndex ( rColor.GetBlue() ),
mcGreen ( rColor.GetGreen() ),
@@ -312,16 +302,6 @@ inline bool BitmapColor::operator!=( const BitmapColor& rBitmapColor ) const
return !( *this == rBitmapColor );
}
-inline BitmapColor& BitmapColor::operator=( const BitmapColor& rBitmapColor )
-{
- mcBlueOrIndex = rBitmapColor.mcBlueOrIndex;
- mcGreen = rBitmapColor.mcGreen;
- mcRed = rBitmapColor.mcRed;
- mbIndex = rBitmapColor.mbIndex;
-
- return *this;
-}
-
inline bool BitmapColor::IsIndex() const
{
return mbIndex;