From 213bc71f84c8f8494f5b5009b730b5a7af2c7cee Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 8 Apr 2014 08:39:36 +0200 Subject: Clean up function declarations and some unused functions Change-Id: I382289c7188dfdc9839ff9e6362b6e039ffc5f9e --- vcl/source/gdi/impvect.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'vcl/source/gdi/impvect.cxx') diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx index 87a15e422048..05a8bf51d615 100644 --- a/vcl/source/gdi/impvect.cxx +++ b/vcl/source/gdi/impvect.cxx @@ -84,21 +84,8 @@ struct ImplColorSet BitmapColor maColor; sal_uInt16 mnIndex; bool mbSet; - - bool operator<( const ImplColorSet& rSet ) const; - bool operator>( const ImplColorSet& rSet ) const; }; -inline bool ImplColorSet::operator<( const ImplColorSet& rSet ) const -{ - return( mbSet && ( !rSet.mbSet || ( maColor.GetLuminance() > rSet.maColor.GetLuminance() ) ) ); -} - -inline bool ImplColorSet::operator>( const ImplColorSet& rSet ) const -{ - return( !mbSet || ( rSet.mbSet && maColor.GetLuminance() < rSet.maColor.GetLuminance() ) ); -} - extern "C" int SAL_CALL ImplColorSetCmpFnc( const void* p1, const void* p2 ) { ImplColorSet* pSet1 = (ImplColorSet*) p1; @@ -197,8 +184,6 @@ private: long mnWidth; long mnHeight; - ImplVectMap() {}; - public: ImplVectMap( long nWidth, long nHeight ); -- cgit