From 77e9216ca1073caa0dcec23ef89808cc7f80fc06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 3 Oct 2019 10:53:58 +0200 Subject: 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 --- sc/source/ui/inc/output.hxx | 5 +---- sc/source/ui/view/gridwin4.cxx | 3 +-- sc/source/ui/view/output.cxx | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) (limited to 'sc') 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 ), -- cgit