summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-01 14:59:23 +0200
committerNoel Grandin <noel@peralex.com>2015-06-01 14:59:38 +0200
commit404943048e5bbed5fb19214a9594a91fa6d954bd (patch)
tree5800369eeafa6608383b19ba2644ea50f8b629cb /basebmp
parentd3171eb7d0291e3020d542cfc06d0725e039dbfb (diff)
remove unused BASEBMP_NO_NESTED_TEMPLATE_PARAMETER
Change-Id: I631b5fa984f5a59619aef62e38a503239989b253
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 04d4892ac054..500ef9da8541 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -1789,11 +1789,6 @@ struct StdMasks
};
-// Some compilers don't like the nested template wrap_accessor
-// reference in the parameter list - being slightly less type safe,
-// then.
-#ifndef BASEBMP_NO_NESTED_TEMPLATE_PARAMETER
-
/// Produces a specialized renderer for the given pixel format
template< class FormatTraits, class MaskTraits >
BitmapDeviceSharedPtr createRenderer(
@@ -1808,22 +1803,6 @@ BitmapDeviceSharedPtr createRenderer(
boost::shared_array< sal_uInt8 > pMem,
const PaletteMemorySharedVector& pPal,
const IBitmapDeviceDamageTrackerSharedPtr& pDamage )
-#else
-
-template< class FormatTraits, class MaskTraits, class Accessor >
-BitmapDeviceSharedPtr createRenderer(
- const basegfx::B2IBox& rBounds,
- const basegfx::B2IVector& rBufferSize,
- Format nScanlineFormat,
- sal_Int32 nScanlineStride,
- sal_uInt8* pFirstScanline,
- typename FormatTraits::raw_accessor_type const& rRawAccessor,
- Accessor const& rAccessor,
- boost::shared_array< sal_uInt8 > pMem,
- const PaletteMemorySharedVector& pPal,
- const IBitmapDeviceDamageTrackerSharedPtr& pDamage )
-
-#endif
{
typedef typename FormatTraits::iterator_type Iterator;
typedef BitmapRenderer< Iterator,