diff options
author | Philipp Lohmann <pl@openoffice.org> | 2009-10-21 09:47:51 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2009-10-21 09:47:51 +0000 |
commit | 593aebed34f922feeb9c4f1f0f864e67f8b78527 (patch) | |
tree | 7d57f13d0f9fa08981307d1cced43b809fc95e67 /vcl | |
parent | 1430eb436b67615e94a9ebf7e8ae91a345f5f969 (diff) |
fix a compile problem
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 |
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) |