diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
commit | ab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch) | |
tree | 36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/core/docnode/ndnum.cxx | |
parent | 0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff) |
bin/rename-sw-abbreviations.sh
libreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially
in the shared code too).
Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/core/docnode/ndnum.cxx')
-rw-r--r-- | sw/source/core/docnode/ndnum.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/core/docnode/ndnum.cxx b/sw/source/core/docnode/ndnum.cxx index 8c8a542d804f..b462f5c81d8a 100644 --- a/sw/source/core/docnode/ndnum.cxx +++ b/sw/source/core/docnode/ndnum.cxx @@ -39,20 +39,20 @@ bool SwOutlineNodes::Seek_Entry(SwNode* rP, sal_uInt16* pnPos) const void SwNodes::UpdateOutlineNode(SwNode & rNd) { - SwTxtNode * pTxtNd = rNd.GetTxtNode(); + SwTextNode * pTextNd = rNd.GetTextNode(); - if (pTxtNd && pTxtNd->IsOutlineStateChanged()) + if (pTextNd && pTextNd->IsOutlineStateChanged()) { - bool bFound = pOutlineNds->find(pTxtNd) != pOutlineNds->end(); + bool bFound = pOutlineNds->find(pTextNd) != pOutlineNds->end(); - if (pTxtNd->IsOutline()) + if (pTextNd->IsOutline()) { if (! bFound) { // assure that text is in the correct nodes array - if ( &(pTxtNd->GetNodes()) == this ) + if ( &(pTextNd->GetNodes()) == this ) { - pOutlineNds->insert(pTxtNd); + pOutlineNds->insert(pTextNd); } else { @@ -63,17 +63,17 @@ void SwNodes::UpdateOutlineNode(SwNode & rNd) else { if (bFound) - pOutlineNds->erase(pTxtNd); + pOutlineNds->erase(pTextNd); } - pTxtNd->UpdateOutlineState(); + pTextNd->UpdateOutlineState(); // update the structure fields - GetDoc()->getIDocumentFieldsAccess().GetSysFldType( RES_CHAPTERFLD )->UpdateFlds(); + GetDoc()->getIDocumentFieldsAccess().GetSysFieldType( RES_CHAPTERFLD )->UpdateFields(); } } -void SwNodes::UpdtOutlineIdx( const SwNode& rNd ) +void SwNodes::UpdateOutlineIdx( const SwNode& rNd ) { if( pOutlineNds->empty() ) // no OutlineNodes present ? return; |