diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-24 11:22:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-24 21:24:19 +0100 |
commit | 0b55b36ac472e36f8bcfb74570039c4cd254ed49 (patch) | |
tree | d2cd0f4caed2d13eaba2c01094ff25ebf8490022 /sw | |
parent | 5e3799a0c8a92918b9e1868c942f8918ff61c003 (diff) |
m_pTableEndPaM is unused
since...
commit 56b2cf0c10d9caa01ebae1d80465e342d046a85c
Author: Florian Reuter <freuter@novell.com>
Date: Tue Sep 14 14:40:15 2010 +0200
sw-collapse-empty-table-par-like-html.diff:
n#376690
Change-Id: I25b33855500f12d5475d5ed706414d7c3a24e996
Reviewed-on: https://gerrit.libreoffice.org/48494
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 6 |
3 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 7df189d5ea37..31a8b7cc9176 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5389,8 +5389,6 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss) m_xLstManager.reset(); } - SAL_WARN_IF(m_pTableEndPaM, "sw.ww8", "document ended without table ending"); - m_pTableEndPaM.reset(); //ensure this is deleted before pPaM mpCursor.reset(); m_pPaM = nullptr; m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index 3eb92100d532..784bb7dc0a62 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -1338,7 +1338,6 @@ private: bool m_bBidi; bool m_bReadTable; - std::shared_ptr<SwPaM> m_pTableEndPaM; // Indicate that currently on loading a TOC, managed by Read_F_TOX() and End_Field() bool m_bLoadingTOXCache; int m_nEmbeddedTOXLevel; diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index c0f8f1cbb164..3cbd764fa6d6 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -3603,7 +3603,6 @@ void SwWW8ImplReader::TabCellEnd() m_bFirstPara = true; // We have come to the end of a cell so FirstPara flag m_bReadTable = false; - m_pTableEndPaM.reset(); } void SwWW8ImplReader::Read_TabCellEnd( sal_uInt16, const sal_uInt8* pData, short nLen) @@ -3649,11 +3648,6 @@ void SwWW8ImplReader::StopTable() PopTableDesc(); m_bReadTable = true; - // #i101116# - Keep PaM on table end only for nested tables - if ( m_nInTable > 1 ) - { - m_pTableEndPaM.reset(new SwPaM(*m_pPaM, m_pPaM)); - } } bool SwWW8ImplReader::IsInvalidOrToBeMergedTabCell() const |