summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-01 16:56:54 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:32 +0200
commitd2178a12ad28d0ca33c60a76daa80deaa7db1881 (patch)
tree15b3a809ea67cfdeb7cc5c65be8e4d385fafa5dd /sw
parent64ac0ce918742f1266e555fa3ddd951c917b91b5 (diff)
WW8SwFlyPara ctor nPgLeft parameter is unused
...ever since its last use in OLD_ANCHORING-conditional code got removed with 2e755e2d09c584e8d7eead5883cf5c13f3752e23 "INTEGRATION: CWS swobjpos04" Change-Id: Ibdbab544bc94667c4f04b5fbd1b1042d165f1fa8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.hxx1
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx4
3 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 76929b7303b0..ac6af529a915 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3510,7 +3510,7 @@ bool SwWW8ImplReader::StartTable(WW8_CP nStartCp)
// containing WW8 page top margin.
pTableSFlyPara = new WW8SwFlyPara(*m_pPaM, *this, *pTableWFlyPara,
m_aSectionManager.GetWWPageTopMargin(),
- m_aSectionManager.GetPageLeft(), m_aSectionManager.GetTextAreaWidth(),
+ m_aSectionManager.GetTextAreaWidth(),
m_nIniFlyDx, m_nIniFlyDy);
// #i45301# - anchor nested table Writer fly frame at-character
diff --git a/sw/source/filter/ww8/ww8par2.hxx b/sw/source/filter/ww8/ww8par2.hxx
index a097b62ba774..f7e7121012be 100644
--- a/sw/source/filter/ww8/ww8par2.hxx
+++ b/sw/source/filter/ww8/ww8par2.hxx
@@ -77,7 +77,6 @@ struct WW8SwFlyPara
SwWW8ImplReader& rIo,
WW8FlyPara& rWW,
const sal_uInt32 nWWPgTop,
- const sal_uInt32 nPgLeft,
const sal_uInt32 nPgWidth,
const sal_Int32 nIniFlyDx,
const sal_Int32 nIniFlyDy );
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 144de1964730..4030ccaee09d 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1780,13 +1780,10 @@ WW8SwFlyPara::WW8SwFlyPara( SwPaM& rPaM,
SwWW8ImplReader& rIo,
WW8FlyPara& rWW,
const sal_uInt32 nWWPgTop,
- const sal_uInt32 nPgLeft,
const sal_uInt32 nPgWidth,
const sal_Int32 nIniFlyDx,
const sal_Int32 nIniFlyDy )
{
- (void) nPgLeft;
-
memset( this, 0, sizeof( WW8SwFlyPara ) ); // initialize
nNewNetWidth = MINFLY; // minimum
@@ -2348,7 +2345,6 @@ bool SwWW8ImplReader::StartApo(const ApoTestResults &rApo, const WW8_TablePos *p
// containing WW8 page top margin.
m_xSFlyPara.reset(new WW8SwFlyPara( *m_pPaM, *this, *m_xWFlyPara,
m_aSectionManager.GetWWPageTopMargin(),
- m_aSectionManager.GetPageLeft(),
m_aSectionManager.GetTextAreaWidth(),
m_nIniFlyDx, m_nIniFlyDy));