diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 12:25:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 15:30:43 +0200 |
commit | 9b68ce7b0f2326ec540717ec5c8207825403774e (patch) | |
tree | 51fb4da65728acfd8be5ceea439edd6ce4a4cb30 /sw/source/core/attr/format.cxx | |
parent | d2e4aeb929b346acd0d1a2eaeee7237b89b99474 (diff) |
loplugin:unusedfields in sw part5
Change-Id: I4111ed1dcb04e010ecfb93df3a7e7bf715abf585
Reviewed-on: https://gerrit.libreoffice.org/39044
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/attr/format.cxx')
-rw-r--r-- | sw/source/core/attr/format.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx index 12f0de192efd..e3b4639c1ee7 100644 --- a/sw/source/core/attr/format.cxx +++ b/sw/source/core/attr/format.cxx @@ -49,7 +49,7 @@ SwFormat::SwFormat( SwAttrPool& rPool, const sal_Char* pFormatNm, { m_bAutoUpdateFormat = false; // LAYER_IMPL m_bAutoFormat = true; - m_bWritten = m_bFormatInDTOR = m_bHidden = false; + m_bFormatInDTOR = m_bHidden = false; if( pDrvdFrame ) m_aSet.SetParent( &pDrvdFrame->m_aSet ); @@ -68,7 +68,7 @@ SwFormat::SwFormat( SwAttrPool& rPool, const OUString& rFormatNm, { m_bAutoUpdateFormat = false; // LAYER_IMPL m_bAutoFormat = true; - m_bWritten = m_bFormatInDTOR = m_bHidden = false; + m_bFormatInDTOR = m_bHidden = false; if( pDrvdFrame ) m_aSet.SetParent( &pDrvdFrame->m_aSet ); @@ -83,7 +83,7 @@ SwFormat::SwFormat( const SwFormat& rFormat ) m_nPoolHelpId( rFormat.GetPoolHelpId() ), m_nPoolHlpFileId( rFormat.GetPoolHlpFileId() ) { - m_bWritten = m_bFormatInDTOR = false; // LAYER_IMPL + m_bFormatInDTOR = false; // LAYER_IMPL m_bAutoFormat = rFormat.m_bAutoFormat; m_bHidden = rFormat.m_bHidden; m_bAutoUpdateFormat = rFormat.m_bAutoUpdateFormat; @@ -305,8 +305,6 @@ void SwFormat::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewValu break; case RES_RESET_FMTWRITTEN: { - m_bWritten = false; - // mba: here we don't use the additional stuff from NotifyClients(). // should we?! // mba: move the code that ignores this event to the clients |