summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-18 15:09:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-18 15:33:31 +0100
commit8624d2c8e3be89c794d3cfcfb72685fcb18e4d24 (patch)
tree3b11894d71af7a94e30fe7c9cfc622e22696d2ca /include
parent0789b66353f75f4791754727629f553aa717be67 (diff)
Resolves: tdf#100731 include palette in checksum
Change-Id: I084d840b9fa078ebea3ff1471d8c8bc88171abc7
Diffstat (limited to 'include')
-rw-r--r--include/vcl/salbtype.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx
index d86b715bcfee..a40f24f6eea8 100644
--- a/include/vcl/salbtype.hxx
+++ b/include/vcl/salbtype.hxx
@@ -23,6 +23,7 @@
#include <string.h>
#include <stdlib.h>
#include <tools/debug.hxx>
+#include <vcl/checksum.hxx>
#include <vcl/salgtype.hxx>
#include <tools/color.hxx>
#include <tools/helpers.hxx>
@@ -152,6 +153,10 @@ public:
SAL_DLLPRIVATE inline BitmapColor* ImplGetColorBuffer() const;
+ BitmapChecksum GetChecksum() const
+ {
+ return vcl_get_checksum(0, mpBitmapColor, mnCount * sizeof(BitmapColor));
+ }
public: