diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-19 01:57:34 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@novell.com> | 2010-10-19 01:59:03 +0200 |
commit | c300e27f5ca40ce87f91663d1c6fbf193727570a (patch) | |
tree | 6302dbb705f13a4ddf3919d6e05e1e08adcf5967 /basebmp/source | |
parent | 457ff1b63da9bbca4a158fc6cdb6deb1ac9f0a55 (diff) |
Cleanse non-compiled code
Removed if-deffed code from LibO libs, enabled if-deffed code again
in test/playground files
Diffstat (limited to 'basebmp/source')
-rw-r--r-- | basebmp/source/bitmapdevice.cxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx index 118536dca663..bf4cafd16cb2 100644 --- a/basebmp/source/bitmapdevice.cxx +++ b/basebmp/source/bitmapdevice.cxx @@ -1623,17 +1623,6 @@ struct StdMasks static const bool alphamask_polarity = true; }; -#if 0 -/** Clip and alpha masks for the generic renderer (of course, those - need to be generic, too) - */ -struct MaskTraitsGeneric -{ - typedef PixelFormatTraits_GenericInteger clipmask_format_traits; - typedef PixelFormatTraits_GenericInteger alphamask_format_traits; -}; -#endif - //---------------------------------------------------------------------------------- // Some compilers don't like the nested template wrap_accessor @@ -2032,33 +2021,6 @@ BitmapDeviceSharedPtr cloneBitmapDevice( const basegfx::B2IVector& rSize, /// Clone our device, with GenericImageAccessor to handle all formats BitmapDeviceSharedPtr BitmapDevice::getGenericRenderer() const { -#if 0 - // xxx TODO - typedef BitmapRenderer< PixelFormatTraits_GenericInteger::iterator_type, - PixelFormatTraits_GenericInteger::raw_accessor_type, - PixelFormatTraits_GenericInteger::accessor_selector, - MaskTraitsGeneric > - Renderer; - - if( !mpImpl->mpGenericRenderer ) - { - mpImpl->mpGenericRenderer.reset( - new Renderer( - mpImpl->maBounds, - isTopDown(), - getScanlineFormat(), - getScanlineStride(), - mpImpl->mpFirstScanline, - PixelFormatTraits_GenericInteger::iterator_type(), - GenericIntegerImageRawAccessor<Color>( - const_cast<BitmapDevice*>(this)->shared_from_this()), - GenericIntegerImageAccessor<Color>( - const_cast<BitmapDevice*>(this)->shared_from_this()), - getBuffer(), - getPalette() )); - } -#endif - return mpImpl->mpGenericRenderer; } |