summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 13:16:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 13:10:42 +0000
commitbb674aa5503ff40a5619d1fb4c9f310da5f5c983 (patch)
treee9b6d62f258cded0a5f207609a61157c8d0ef4c2 /sc
parentb79cf88a048e5d8c784c97d99155104aef3d5dca (diff)
loplugin:unusedfields
Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dpobject.hxx1
-rw-r--r--sc/source/core/data/dpobject.cxx3
2 files changed, 0 insertions, 4 deletions
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<css::sheet::XDimensionsSupplier> 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<ScDPTableData*>(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<ScDPTableData*>(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;