diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2015-08-18 18:36:51 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-19 01:05:37 +0000 |
commit | e0b0501452e6a72ba800ae9f536d766f8111ed78 (patch) | |
tree | e9cff2cf16ad884a0a856e4552c1a8586646a2e3 /vcl | |
parent | 6b7354ae66db40246a09e00aa876443057655a43 (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 'vcl')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.hxx | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index aa941d9eb369..43081aa96afd 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -182,15 +182,6 @@ public: BitmapID() : m_nSize( 0 ), m_nChecksum( 0 ), m_nMaskChecksum( 0 ) {} - BitmapID& operator=( const BitmapID& rCopy ) - { - m_aPixelSize = rCopy.m_aPixelSize; - m_nSize = rCopy.m_nSize; - m_nChecksum = rCopy.m_nChecksum; - m_nMaskChecksum = rCopy.m_nMaskChecksum; - return *this; - } - bool operator==( const BitmapID& rComp ) const { return (m_aPixelSize == rComp.m_aPixelSize && @@ -701,7 +692,7 @@ private: // graphics state struct GraphicsState { - vcl::Font m_aFont; + vcl::Font m_aFont; MapMode m_aMapMode; Color m_aLineColor; Color m_aFillColor; @@ -741,42 +732,6 @@ private: m_nFlags( PushFlags::ALL ), m_nUpdateFlags( 0xffff ) {} - GraphicsState( const GraphicsState& rState ) : - m_aFont( rState.m_aFont ), - m_aMapMode( rState.m_aMapMode ), - m_aLineColor( rState.m_aLineColor ), - m_aFillColor( rState.m_aFillColor ), - m_aTextLineColor( rState.m_aTextLineColor ), - m_aOverlineColor( rState.m_aOverlineColor ), - m_aClipRegion( rState.m_aClipRegion ), - m_bClipRegion( rState.m_bClipRegion ), - m_nAntiAlias( rState.m_nAntiAlias ), - m_nLayoutMode( rState.m_nLayoutMode ), - m_aDigitLanguage( rState.m_aDigitLanguage ), - m_nTransparentPercent( rState.m_nTransparentPercent ), - m_nFlags( rState.m_nFlags ), - m_nUpdateFlags( rState.m_nUpdateFlags ) - { - } - - GraphicsState& operator=(const GraphicsState& rState ) - { - m_aFont = rState.m_aFont; - m_aMapMode = rState.m_aMapMode; - m_aLineColor = rState.m_aLineColor; - m_aFillColor = rState.m_aFillColor; - m_aTextLineColor = rState.m_aTextLineColor; - m_aOverlineColor = rState.m_aOverlineColor; - m_aClipRegion = rState.m_aClipRegion; - m_bClipRegion = rState.m_bClipRegion; - m_nAntiAlias = rState.m_nAntiAlias; - m_nLayoutMode = rState.m_nLayoutMode; - m_aDigitLanguage = rState.m_aDigitLanguage; - m_nTransparentPercent = rState.m_nTransparentPercent; - m_nFlags = rState.m_nFlags; - m_nUpdateFlags = rState.m_nUpdateFlags; - return *this; - } }; std::list< GraphicsState > m_aGraphicsStack; GraphicsState m_aCurrentPDFState; |