summaryrefslogtreecommitdiff
path: root/include/svx/xbtmpit.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-16 16:13:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-19 10:13:00 +0100
commit6fbb6d80fe6203ff6f84ee85ca625b6e60bf5bae (patch)
tree1482de217efaafface8b1fa82ecd2320b82a1a68 /include/svx/xbtmpit.hxx
parent2ab300bfa18cdcc91a9311c4c9710254b0ad7753 (diff)
use std::array in createHistorical8x8FromArray
to make the assumption about the size of the array obvious in the code. Change-Id: I7ebe0b037e3be38f7e33c0160742f829288bb474 Reviewed-on: https://gerrit.libreoffice.org/49938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/xbtmpit.hxx')
-rw-r--r--include/svx/xbtmpit.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/xbtmpit.hxx b/include/svx/xbtmpit.hxx
index b9ced7c42fb0..7c2e2fa2582c 100644
--- a/include/svx/xbtmpit.hxx
+++ b/include/svx/xbtmpit.hxx
@@ -23,6 +23,7 @@
#include <svx/svxdllapi.h>
#include <svx/xit.hxx>
#include <svtools/grfmgr.hxx>
+#include <array>
class SdrModel;
class BitmapColor;
@@ -30,7 +31,7 @@ class BitmapColor;
// helper to construct historical 8x8 bitmaps with two colors
-BitmapEx SVX_DLLPUBLIC createHistorical8x8FromArray(sal_uInt16 const * pArray, Color aColorPix, Color aColorBack);
+BitmapEx SVX_DLLPUBLIC createHistorical8x8FromArray(std::array<sal_uInt8,64> const & pArray, Color aColorPix, Color aColorBack);
bool SVX_DLLPUBLIC isHistorical8x8(const BitmapEx& rBitmapEx, BitmapColor& o_rBack, BitmapColor& o_rFront);