summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-10-21 09:47:51 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-10-21 09:47:51 +0000
commit593aebed34f922feeb9c4f1f0f864e67f8b78527 (patch)
tree7d57f13d0f9fa08981307d1cced43b809fc95e67 /vcl
parent1430eb436b67615e94a9ebf7e8ae91a345f5f969 (diff)
fix a compile problem
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 6626a12d29a2..4e2ed20a7966 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -785,7 +785,7 @@ sal_uInt8 BitmapEx::GetTransparency(sal_Int32 nX, sal_Int32 nY) const
if(pRead)
{
- const Color aColor(Color(pRead->GetColor(nY, nX)));
+ const Color aColor = pRead->GetColor(nY, nX);
// if color is not equal to TransparentColor, we are not transparent
if(aColor != aTransparentColor)