summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 10:53:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 12:16:38 +0200
commit77e9216ca1073caa0dcec23ef89808cc7f80fc06 (patch)
tree71ea2c3841f1a1017123dec44552239d74fd7a4a /sc
parent81903d443116c643a9ff92d92c092812abc7f57d (diff)
loplugin:unusedfields
and filter out the weld fields, since we're not touching them yet Change-Id: I3cc23c46d2650f13cb29c7d381687939d23e2882 Reviewed-on: https://gerrit.libreoffice.org/80104 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/output.hxx5
-rw-r--r--sc/source/ui/view/gridwin4.cxx3
-rw-r--r--sc/source/ui/view/output.cxx5
3 files changed, 3 insertions, 10 deletions
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index dac11f924ac3..68b138c627de 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -185,8 +185,6 @@ private:
long nScrW; // Output size (Pixel)
long nScrH;
long nMirrorW; // Visible output width for mirroring (default: nScrW)
- long nTilePosX; // Current tile X offset (twips)
- long nTilePosY; // Current tile Y offset (twips)
SCCOL const nX1; // Start-/End coordinates
SCROW const nY1; // ( incl. hidden )
SCCOL const nX2;
@@ -306,8 +304,7 @@ public:
SCCOL nNewX1, SCROW nNewY1, SCCOL nNewX2, SCROW nNewY2,
double nPixelPerTwipsX, double nPixelPerTwipsY,
const Fraction* pZoomX = nullptr,
- const Fraction* pZoomY = nullptr,
- long nNewTilePosX = 0, long nNewTilePosY = 0 );
+ const Fraction* pZoomY = nullptr );
~ScOutputData();
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 947961218438..61664d813b54 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1230,8 +1230,7 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
-nTopLeftTileRowOffset,
nTopLeftTileCol, nTopLeftTileRow,
nBottomRightTileCol, nBottomRightTileRow,
- fPPTX, fPPTY, nullptr, nullptr,
- nTilePosX, nTilePosY);
+ fPPTX, fPPTY, nullptr, nullptr);
// setup the SdrPage so that drawinglayer works correctly
ScDrawLayer* pModel = pDoc->GetDrawLayer();
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 9697bd8dc9de..2903ad0d172e 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -136,8 +136,7 @@ ScOutputData::ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
SCTAB nNewTab, long nNewScrX, long nNewScrY,
SCCOL nNewX1, SCROW nNewY1, SCCOL nNewX2, SCROW nNewY2,
double nPixelPerTwipsX, double nPixelPerTwipsY,
- const Fraction* pZoomX, const Fraction* pZoomY,
- long nNewTilePosX, long nNewTilePosY ) :
+ const Fraction* pZoomX, const Fraction* pZoomY ) :
mpDev( pNewDev ),
mpRefDevice( pNewDev ), // default is output device
pFmtDevice( pNewDev ), // default is output device
@@ -148,8 +147,6 @@ ScOutputData::ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
nTab( nNewTab ),
nScrX( nNewScrX ),
nScrY( nNewScrY ),
- nTilePosX( nNewTilePosX ),
- nTilePosY( nNewTilePosY ),
nX1( nNewX1 ),
nY1( nNewY1 ),
nX2( nNewX2 ),