summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-01-15 15:31:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-01-16 07:43:00 +0100
commit6d91b6b7718704c0037cfbfdaa42ba259a0d791a (patch)
tree98df05b28ba18840cece4b13cbd9df5aa4ec0364 /sc
parent877014b0b7050ba3fce1c0126279125640117313 (diff)
loplugin:unusedfields
Change-Id: Ic53aacfc76cb73902cf5e304153975fa02509da2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162110 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/lotattr.hxx1
-rw-r--r--sc/source/filter/lotus/lotattr.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/filter/inc/lotattr.hxx b/sc/source/filter/inc/lotattr.hxx
index 475d46547e4a..372e7dadbf8c 100644
--- a/sc/source/filter/inc/lotattr.hxx
+++ b/sc/source/filter/inc/lotattr.hxx
@@ -89,7 +89,6 @@ private:
const Color& GetColor( const sal_uInt8 nLotIndex ) const;
- ScDocumentPool* pDocPool;
std::unique_ptr<SvxColorItem> ppColorItems[6]; // 0 and 7 are missing!
std::unique_ptr<SvxColorItem> pWhite;
std::unique_ptr<Color[]> pColTab;
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx
index 995e244f4c7b..933380ad7b96 100644
--- a/sc/source/filter/lotus/lotattr.cxx
+++ b/sc/source/filter/lotus/lotattr.cxx
@@ -49,8 +49,6 @@ LotAttrCache::ENTRY::~ENTRY ()
LotAttrCache::LotAttrCache (LotusContext& rContext)
: mrContext(rContext)
{
- pDocPool = rContext.rDoc.GetPool();
-
pColTab.reset( new Color [ 8 ] );
pColTab[ 0 ] = COL_WHITE;
pColTab[ 1 ] = COL_LIGHTBLUE;