diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-08 15:38:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-11 06:05:32 +0000 |
commit | 3716b144265dda695d7dd447dbe692a3f84c588e (patch) | |
tree | 6b8d8751e306841102f6808fbb5403dac193c35c /vcl/unx | |
parent | b796b24793827583550279d40bfe565c66ad284d (diff) |
loplugin:constantparam
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886
Reviewed-on: https://gerrit.libreoffice.org/28016
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/gdi/salbmp.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx index 95665fd3b03f..bcba7e6ee4ce 100644 --- a/vcl/unx/generic/gdi/salbmp.cxx +++ b/vcl/unx/generic/gdi/salbmp.cxx @@ -1067,10 +1067,9 @@ struct ImplBmpObj { X11SalBitmap* mpBmp; sal_uLong mnMemSize; - sal_uLong mnFlags; - ImplBmpObj( X11SalBitmap* pBmp, sal_uLong nMemSize, sal_uLong nFlags ) : - mpBmp( pBmp ), mnMemSize( nMemSize ), mnFlags( nFlags ) {} + ImplBmpObj( X11SalBitmap* pBmp, sal_uLong nMemSize ) : + mpBmp( pBmp ), mnMemSize( nMemSize ) {} }; ImplSalBitmapCache::ImplSalBitmapCache() : @@ -1104,10 +1103,9 @@ void ImplSalBitmapCache::ImplAdd( X11SalBitmap* pBmp, sal_uLong nMemSize ) { mnTotalSize -= pObj->mnMemSize; pObj->mnMemSize = nMemSize; - pObj->mnFlags = 0; } else - maBmpList.push_back( new ImplBmpObj( pBmp, nMemSize, 0 ) ); + maBmpList.push_back( new ImplBmpObj( pBmp, nMemSize ) ); } void ImplSalBitmapCache::ImplRemove( X11SalBitmap* pBmp ) |