diff options
Diffstat (limited to 'include/vcl/BitmapTools.hxx')
-rw-r--r-- | include/vcl/BitmapTools.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx index d7ce4be9e90f..fa7a43bc99a6 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -26,10 +26,10 @@ namespace com::sun::star::geometry { struct IntegerRectangle2D; } namespace vcl::bitmap { -typedef sal_uInt8 (*lookup_table)[256]; +typedef std::array<std::array<sal_uInt8, 256>, 256> lookup_table; -lookup_table VCL_DLLPUBLIC get_premultiply_table(); -lookup_table VCL_DLLPUBLIC get_unpremultiply_table(); +VCL_DLLPUBLIC lookup_table const & get_premultiply_table(); +VCL_DLLPUBLIC lookup_table const & get_unpremultiply_table(); sal_uInt8 unpremultiply(sal_uInt8 c, sal_uInt8 a); sal_uInt8 premultiply(sal_uInt8 c, sal_uInt8 a); |