summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-18 14:34:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-18 14:34:03 +0100
commitf06d19ace7f18df741236d5ce3120903582e1ddb (patch)
treea39dc45710b14f37d7313e9651d34ef25cba1a14 /basebmp
parenta7f6efc68ba97db98ebab9ebc473bffb8ded757f (diff)
loplugin:unreffun
Change-Id: Ia62d656c41f7dbe20318b7896a6bec6d35e568df
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 4ec0f283cf3d..eb4616e2e98d 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -72,24 +72,6 @@
#include <vigra/copyimage.hxx>
#include <vigra/tuple.hxx>
-
-namespace vigra
-{
-
-/// componentwise xor of an RGBValue (missing from rgbvalue.hxx)
-template< class Value, unsigned int RedIndex, unsigned int BlueIndex, unsigned int GreenIndex >
-inline RGBValue<Value, RedIndex, GreenIndex, BlueIndex>
-operator^( RGBValue<Value, RedIndex, GreenIndex, BlueIndex> const& lhs,
- RGBValue<Value, RedIndex, GreenIndex, BlueIndex> const& rhs )
-{
- RGBValue<Value, RedIndex, GreenIndex, BlueIndex> res(
- lhs[0] ^ rhs[0],
- lhs[1] ^ rhs[1],
- lhs[2] ^ rhs[2]);
- return res;
-}
-}
-
namespace basebmp
{