diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 11:26:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-15 12:20:59 +0000 |
commit | 8d4a306eb04742f499ab693e7f8ebd3ae3c01415 (patch) | |
tree | af85c31b99112b5c76e71ad83a58e4e6d15a1dbe /vcl | |
parent | 6b4eaa7ee7837e7ff1439ebb06db9200b4b68b61 (diff) |
loplugin:unusedfields
Change-Id: I1400ca0af2c357dff06e5f733ec62b13d6a96461
Reviewed-on: https://gerrit.libreoffice.org/30861
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/image.h | 3 | ||||
-rw-r--r-- | vcl/source/image/ImplImage.cxx | 3 | ||||
-rw-r--r-- | vcl/source/image/ImplImageList.cxx | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/vcl/inc/image.h b/vcl/inc/image.h index f737a14a8d9b..5446dc7d322a 100644 --- a/vcl/inc/image.h +++ b/vcl/inc/image.h @@ -52,7 +52,6 @@ struct ImplImageList ImageAryDataNameHash maNameHash; OUString maPrefix; Size maImageSize; - sal_uIntPtr mnRefCount; ImplImageList(); ImplImageList( const ImplImageList &aSrc ); @@ -65,8 +64,6 @@ struct ImplImageList struct ImplImage { - sal_uIntPtr mnRefCount; - BitmapChecksum maBitmapChecksum; std::unique_ptr<BitmapEx> mpBitmapEx; diff --git a/vcl/source/image/ImplImage.cxx b/vcl/source/image/ImplImage.cxx index 52e5083e8372..ad4312024f92 100644 --- a/vcl/source/image/ImplImage.cxx +++ b/vcl/source/image/ImplImage.cxx @@ -30,8 +30,7 @@ #include <memory> ImplImage::ImplImage() - : mnRefCount(1) - , maBitmapChecksum(0) + : maBitmapChecksum(0) , mpBitmapEx() , maDisabledBitmapEx() { diff --git a/vcl/source/image/ImplImageList.cxx b/vcl/source/image/ImplImageList.cxx index a089004c6c27..f1a0d94973c8 100644 --- a/vcl/source/image/ImplImageList.cxx +++ b/vcl/source/image/ImplImageList.cxx @@ -30,14 +30,12 @@ #include <memory> ImplImageList::ImplImageList() - : mnRefCount(1) { } ImplImageList::ImplImageList( const ImplImageList &aSrc ) : maPrefix(aSrc.maPrefix) , maImageSize(aSrc.maImageSize) - , mnRefCount(1) { maImages.reserve( aSrc.maImages.size() ); for ( std::vector<ImageAryData *>::const_iterator aIt = aSrc.maImages.begin(), aEnd = aSrc.maImages.end(); aIt != aEnd; ++aIt ) |