summaryrefslogtreecommitdiffstats
path: root/basebmp/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-19 09:40:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-19 13:24:27 +0000
commitd3b0f6bcd464c84052ca2af36ea2649aeef57b74 (patch)
tree7c42143d9c1585b5dfc3c06fd8e9a932dcd24c61 /basebmp/source
parentalways copying the full bitmap, not just a portion of it (diff)
downloadcore-d3b0f6bcd464c84052ca2af36ea2649aeef57b74.tar.gz
core-d3b0f6bcd464c84052ca2af36ea2649aeef57b74.zip
always copying to a different bitmap
Change-Id: I90b205bef1b01e6c4c43788fc5c95391b7842e83
Diffstat (limited to 'basebmp/source')
-rw-r--r--basebmp/source/bitmapdevice.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 1e582e7812d4..c0afe86d5f96 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -248,8 +248,7 @@ namespace
aRect),
destIterRange(begin,
acc,
- aRect),
- isSharedBuffer(rSrcBitmap) );
+ aRect));
}
template< typename Iterator, typename Acc > static
@@ -425,11 +424,6 @@ PaletteMemorySharedVector BitmapDevice::getPalette() const
return mpImpl->mpPalette;
}
-bool BitmapDevice::isSharedBuffer( const BitmapDeviceSharedPtr& rOther ) const
-{
- return rOther.get()->getBuffer().get() == getBuffer().get();
-}
-
Color BitmapDevice::getPixel( const basegfx::B2IPoint& rPt )
{
if( mpImpl->maBounds.isInside(rPt) )