[Libreoffice-commits] core.git: basebmp/inc

Stephan Bergmann sbergman at redhat.com
Mon Jan 18 06:26:42 PST 2016


 basebmp/inc/accessortraits.hxx      |    5 -----
 basebmp/inc/paletteformats.hxx      |    7 -------
 basebmp/inc/pixelformatadapters.hxx |    1 -
 3 files changed, 13 deletions(-)

New commits:
commit ff6647fc86b2c5753bbd0d10718fd9c54b2aaa43
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 18 15:26:02 2016 +0100

    xor_accessor is unused now
    
    since 0646821f5578a3919cbbb44ab1ec4666872ffd79 "drop newly unused basebmp methods"
    
    Change-Id: I49bbccbd4b93770bdf987f7ccf2726a00f154ed4

diff --git a/basebmp/inc/accessortraits.hxx b/basebmp/inc/accessortraits.hxx
index 6ca8893..86be5ec 100644
--- a/basebmp/inc/accessortraits.hxx
+++ b/basebmp/inc/accessortraits.hxx
@@ -93,11 +93,6 @@ template< class Accessor > struct AccessorTraits
     /// Retrieve raw pixel data accessor for given Accessor type
     typedef Accessor                                raw_accessor;
 
-    /// Retrieve wrapped accessor for XOR setter access
-    typedef BinarySetterFunctionAccessorAdapter<
-        Accessor,
-        XorFunctor< value_type > >                  xor_accessor;
-
     /** Retrieve masked accessor for given types
 
         A masked accessor works like a filter, where the mask gates
diff --git a/basebmp/inc/paletteformats.hxx b/basebmp/inc/paletteformats.hxx
index f42424c..036f6ef 100644
--- a/basebmp/inc/paletteformats.hxx
+++ b/basebmp/inc/paletteformats.hxx
@@ -63,13 +63,6 @@ template< class Accessor, typename ColorType > struct AccessorTraits<
     /// Retrieve raw pixel data accessor for given Accessor type
     typedef Accessor                                                          raw_accessor;
 
-    /** accessor for XOR setter access is disabled, since the results
-     *  are usually completely unintended - you'll usually want to
-     *  wrap an xor_accessor with a PaletteAccessor, not the other way
-     *  around.
-     */
-    typedef vigra::VigraFalseType                                             xor_accessor;
-
     /** accessor for masked setter access is disabled, since the
      *  results are usually completely unintended - you'll usually
      *  want to wrap a masked_accessor with a PaletteAccessor, not the
diff --git a/basebmp/inc/pixelformatadapters.hxx b/basebmp/inc/pixelformatadapters.hxx
index 9a6a11d..68cf4ef 100644
--- a/basebmp/inc/pixelformatadapters.hxx
+++ b/basebmp/inc/pixelformatadapters.hxx
@@ -88,7 +88,6 @@ template< class Accessor > struct AccessorTraits<                 \
     typedef ColorConvert< accessor_type,                          \
                           data_type >              color_lookup;  \
     typedef Accessor                               raw_accessor;  \
-    typedef vigra::VigraFalseType                  xor_accessor;  \
     template< class MaskAccessor,                                 \
               class Iterator,                                     \
               class MaskIterator > struct          masked_accessor\


More information about the Libreoffice-commits mailing list