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 ff431783ad24..c952498c5c58 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -28,10 +28,10 @@ namespace com { namespace sun { namespace star { namespace geometry { struct Int namespace vcl { namespace 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(); /** * Intended to be used to feed into CreateFromData to create a BitmapEx. RGB data format. |