summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/impvect.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-08 08:39:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-08 08:39:36 +0200
commit213bc71f84c8f8494f5b5009b730b5a7af2c7cee (patch)
tree4e26514b812625615d45d317a3987d9b66ba4ac7 /vcl/source/gdi/impvect.cxx
parent35a7310e7fc16f609f895c043ceb8e99a251b3ee (diff)
Clean up function declarations and some unused functions
Change-Id: I382289c7188dfdc9839ff9e6362b6e039ffc5f9e
Diffstat (limited to 'vcl/source/gdi/impvect.cxx')
-rw-r--r--vcl/source/gdi/impvect.cxx15
1 files changed, 0 insertions, 15 deletions
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 );