diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-03 14:48:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 07:17:57 +0100 |
commit | 97b008d0e3a76d5b21ca6cc06fd84a90ed4593de (patch) | |
tree | ae20a591ca69ec0e0784ec62b4063ef383222ede /vcl/inc | |
parent | 31b5c9b9bce461c2a9a9de99bbae2480788c19ca (diff) |
drop ChecksumType typedef
adds no value
Change-Id: I14c168d16eb98eb8c065c4c9a8f2a486c59feebb
Reviewed-on: https://gerrit.libreoffice.org/47341
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/opengl/salbmp.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/salbmp.hxx | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index a060f09bdcb4..5c4fcd053464 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -47,7 +47,7 @@ private: virtual void updateChecksum() const override; - bool calcChecksumGL(OpenGLTexture& rInputTexture, ChecksumType& rChecksum) const; + bool calcChecksumGL(OpenGLTexture& rInputTexture, BitmapChecksum& rChecksum) const; public: OpenGLSalBitmap(); diff --git a/vcl/inc/salbmp.hxx b/vcl/inc/salbmp.hxx index 574e6272d700..6053ab3d6ebd 100644 --- a/vcl/inc/salbmp.hxx +++ b/vcl/inc/salbmp.hxx @@ -38,8 +38,6 @@ class VCL_PLUGIN_PUBLIC SalBitmap { public: - typedef BitmapChecksum ChecksumType; - SalBitmap() : mnChecksum(0) , mbChecksumValid(false) @@ -76,7 +74,7 @@ public: return false; } - void GetChecksum(ChecksumType& rChecksum) const + void GetChecksum(BitmapChecksum& rChecksum) const { updateChecksum(); if (!mbChecksumValid) @@ -91,8 +89,8 @@ public: } protected: - ChecksumType mnChecksum; - bool mbChecksumValid; + BitmapChecksum mnChecksum; + bool mbChecksumValid; protected: virtual void updateChecksum() const @@ -100,7 +98,7 @@ protected: if (mbChecksumValid) return; - ChecksumType nCrc = 0; + BitmapChecksum nCrc = 0; SalBitmap* pThis = const_cast<SalBitmap*>(this); BitmapBuffer* pBuf = pThis->AcquireBuffer(BitmapAccessMode::Read); if (pBuf) |