sw/inc/fldbas.hxx | 2 +- sw/source/core/text/txtfld.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit aa68d029fcbafc2beed6ea4e99f5ac41ec8869d9 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Thu Aug 20 13:07:50 2020 +0200 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Fri Aug 21 12:24:26 2020 +0200 Fix typo in code Change-Id: I8681bd1be07fe44ab017bce65807b9bf0afa7b42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101107 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits