summaryrefslogtreecommitdiff
path: root/include/vcl/BitmapReadAccess.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/BitmapReadAccess.hxx')
-rw-r--r--include/vcl/BitmapReadAccess.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/BitmapReadAccess.hxx b/include/vcl/BitmapReadAccess.hxx
index 3d6a47b33535..32a9dd023952 100644
--- a/include/vcl/BitmapReadAccess.hxx
+++ b/include/vcl/BitmapReadAccess.hxx
@@ -85,7 +85,7 @@ public:
BitmapColor GetPixel(const Point& point) const { return GetPixel(point.Y(), point.X()); }
- BitmapColor GetColorFromData(sal_uInt8* pData, tools::Long nX) const
+ BitmapColor GetColorFromData(const sal_uInt8* pData, tools::Long nX) const
{
if (HasPalette())
return GetPaletteColor(GetIndexFromData(pData, nX));