diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-20 13:07:50 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-21 12:24:26 +0200 |
commit | aa68d029fcbafc2beed6ea4e99f5ac41ec8869d9 (patch) | |
tree | 5f77291b925b26a45f0aa004f73d02cdf034dea8 | |
parent | eab5ce4647ee76d9eae73008a6db76a35ce9066c (diff) |
Fix typo in code
Change-Id: I8681bd1be07fe44ab017bce65807b9bf0afa7b42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101107
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sw/inc/fldbas.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/txtfld.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index c3b252f7c3b3..24c5c9ae3093 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -145,7 +145,7 @@ enum SwAttrFieldType { ATTR_DATEFLD, ATTR_TIMEFLD, ATTR_PAGENUMBERFLD, - ATTR_PAGECOOUNTFLD, + ATTR_PAGECOUNTFLD, ATTR_BOOKMARKFLD, ATTR_SETREFATTRFLD }; diff --git a/sw/source/core/text/txtfld.cxx b/sw/source/core/text/txtfld.cxx index c4a98b71a1c9..18cd5e627286 100644 --- a/sw/source/core/text/txtfld.cxx +++ b/sw/source/core/text/txtfld.cxx @@ -148,7 +148,7 @@ SwExpandPortion *SwTextFormatter::NewFieldPortion( SwTextFormatInfo &rInf, : pField->ExpandField(bInClipboard, pFrame->getRootFrame()) ); pRet = new SwFieldPortion( aStr ); } - static_cast<SwFieldPortion*>(pRet)->m_nAttrFieldType= ATTR_PAGECOOUNTFLD; + static_cast<SwFieldPortion*>(pRet)->m_nAttrFieldType= ATTR_PAGECOUNTFLD; break; case SwFieldIds::PageNumber: |