summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-02-13 21:37:45 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-02-13 22:39:50 +0100
commit9c6519398fb5efbe662ae6f9abfffa80ef821a63 (patch)
tree45af58ab6842c31226b18f3894815d66abe3d4cc /include
parentb43976324f4f8e003b80ce422eb393010d8a101e (diff)
remove GetLuminance from BitmapReadAccess
It's not really that important shortcut function as the function is used only twice in the whole code base. Change-Id: Idf25ded6320f766bc66beec0ee272a62765303ba Reviewed-on: https://gerrit.libreoffice.org/67792 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/bitmapaccess.hxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/vcl/bitmapaccess.hxx b/include/vcl/bitmapaccess.hxx
index cb4c8cb6ad0e..d7b1f2838bad 100644
--- a/include/vcl/bitmapaccess.hxx
+++ b/include/vcl/bitmapaccess.hxx
@@ -215,11 +215,6 @@ public:
return GetPixel(nY, nX).GetBlueOrIndex();
}
- sal_uInt8 GetLuminance(long nY, long nX) const
- {
- return GetColor(nY, nX).GetLuminance();
- }
-
/** Get the interpolated color at coordinates fY, fX; if outside, return rFallback */
BitmapColor GetInterpolatedColorWithFallback( double fY, double fX, const BitmapColor& rFallback ) const;