summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-12 14:07:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 07:28:01 +0100
commit83330a608d0e0be9735d00ae5d60ba262bd235c3 (patch)
tree9c373721e600e3582eca6a3ac0f7a001ccc81f69 /filter
parent2096aac8b958db66b3ddce16b06dca87edc8ba0a (diff)
use Color, not BitmapColor in RawBitmap
because we don't want palette images Change-Id: If087e51503714bf8474ae320381f80196092ceb0 Reviewed-on: https://gerrit.libreoffice.org/49662 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/itga/itga.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx
index 3a37f27b10bb..e980e3c20925 100644
--- a/filter/source/graphicfilter/itga/itga.cxx
+++ b/filter/source/graphicfilter/itga/itga.cxx
@@ -660,7 +660,7 @@ bool TGAReader::ImplReadBody()
m_rTGA.ReadUChar( nBlue ).ReadUChar( nGreen ).ReadUChar( nRed );
if ( !m_rTGA.good())
return false;
- mpBitmap->SetPixel( nY, nX, BitmapColor( nRed, nGreen, nBlue ) );
+ mpBitmap->SetPixel( nY, nX, Color( nRed, nGreen, nBlue ) );
}
break;