[Libreoffice-commits] core.git: basebmp/source
Stephan Bergmann
sbergman at redhat.com
Mon Jan 18 05:34:35 PST 2016
basebmp/source/bitmapdevice.cxx | 18 ------------------
1 file changed, 18 deletions(-)
New commits:
commit f06d19ace7f18df741236d5ce3120903582e1ddb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 18 14:34:03 2016 +0100
loplugin:unreffun
Change-Id: Ia62d656c41f7dbe20318b7896a6bec6d35e568df
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 4ec0f28..eb4616e 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
{
More information about the Libreoffice-commits
mailing list