From bb674aa5503ff40a5619d1fb4c9f310da5f5c983 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Nov 2016 13:16:30 +0200 Subject: loplugin:unusedfields Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sc/inc/dpobject.hxx | 1 - sc/source/core/data/dpobject.cxx | 3 --- 2 files changed, 4 deletions(-) (limited to 'sc') diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 753df75519ec..befd3233f1a1 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -94,7 +94,6 @@ private: // cached data css::uno::Reference xSource; ScDPOutput* pOutput; - sal_uInt16 mnAutoFormatIndex; long nHeaderRows; // page fields plus filter button bool mbHeaderLayout:1; // true : grid, false : standard bool bAllowMove:1; diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 4c07fb1a1a4f..22d8744e0d23 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -312,7 +312,6 @@ ScDPObject::ScDPObject( ScDocument* pD ) : pServDesc( nullptr ), mpTableData(static_cast(nullptr)), pOutput( nullptr ), - mnAutoFormatIndex( 65535 ), nHeaderRows( 0 ), mbHeaderLayout(false), bAllowMove(false), @@ -332,7 +331,6 @@ ScDPObject::ScDPObject(const ScDPObject& r) : pServDesc( nullptr ), mpTableData(static_cast(nullptr)), pOutput( nullptr ), - mnAutoFormatIndex( r.mnAutoFormatIndex ), nHeaderRows( r.nHeaderRows ), mbHeaderLayout( r.mbHeaderLayout ), bAllowMove(false), @@ -363,7 +361,6 @@ ScDPObject& ScDPObject::operator= (const ScDPObject& r) aTableName = r.aTableName; aTableTag = r.aTableTag; aOutRange = r.aOutRange; - mnAutoFormatIndex = r.mnAutoFormatIndex; nHeaderRows = r.nHeaderRows; mbHeaderLayout = r.mbHeaderLayout; bAllowMove = false; -- cgit