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/inc/ftnidx.hxx | |
parent | 0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff) |
bin/rename-sw-abbreviations.shlibreoffice-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/inc/ftnidx.hxx')
-rw-r--r-- | sw/inc/ftnidx.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/inc/ftnidx.hxx b/sw/inc/ftnidx.hxx index ee695e18ff06..b79a57e72980 100644 --- a/sw/inc/ftnidx.hxx +++ b/sw/inc/ftnidx.hxx @@ -23,44 +23,44 @@ #include <sal/types.h> #include <o3tl/sorted_vector.hxx> -class SwTxtFtn; +class SwTextFootnote; class SwNodeIndex; class SwSectionNode; // Everywhere where NodeIndex is used, the header files missing here // are already included. Therefore put here as defines only and // not as inline methods (saves compile time). -#define _SwTxtFtn_GetIndex( pFIdx ) (pFIdx->GetTxtNode().GetIndex()) +#define _SwTextFootnote_GetIndex( pFIdx ) (pFIdx->GetTextNode().GetIndex()) -struct CompareSwFtnIdxs +struct CompareSwFootnoteIdxs { - bool operator()(SwTxtFtn* const& lhs, SwTxtFtn* const& rhs) const; + bool operator()(SwTextFootnote* const& lhs, SwTextFootnote* const& rhs) const; }; -class SwFtnIdxs : public o3tl::sorted_vector<SwTxtFtn*, CompareSwFtnIdxs> +class SwFootnoteIdxs : public o3tl::sorted_vector<SwTextFootnote*, CompareSwFootnoteIdxs> { public: - SwFtnIdxs() {} + SwFootnoteIdxs() {} - void UpdateFtn( const SwNodeIndex& rStt ); // Update all from pos. - void UpdateAllFtn(); // Update all footnotes. + void UpdateFootnote( const SwNodeIndex& rStt ); // Update all from pos. + void UpdateAllFootnote(); // Update all footnotes. - SwTxtFtn* SeekEntry( const SwNodeIndex& rIdx, size_t* pPos = 0 ) const; + SwTextFootnote* SeekEntry( const SwNodeIndex& rIdx, size_t* pPos = 0 ) const; }; -class SwUpdFtnEndNtAtEnd +class SwUpdFootnoteEndNtAtEnd { - std::vector<const SwSectionNode*> aFtnSects, aEndSects; - std::vector<sal_uInt16> aFtnNums, aEndNums; + std::vector<const SwSectionNode*> aFootnoteSects, aEndSects; + std::vector<sal_uInt16> aFootnoteNums, aEndNums; public: - SwUpdFtnEndNtAtEnd() : aFtnSects(), aEndSects() {} + SwUpdFootnoteEndNtAtEnd() : aFootnoteSects(), aEndSects() {} static const SwSectionNode* FindSectNdWithEndAttr( - const SwTxtFtn& rTxtFtn ); + const SwTextFootnote& rTextFootnote ); - sal_uInt16 GetNumber( const SwTxtFtn& rTxtFtn, const SwSectionNode& rNd ); - sal_uInt16 ChkNumber( const SwTxtFtn& rTxtFtn ); + sal_uInt16 GetNumber( const SwTextFootnote& rTextFootnote, const SwSectionNode& rNd ); + sal_uInt16 ChkNumber( const SwTextFootnote& rTextFootnote ); }; #endif // INCLUDED_SW_INC_FTNIDX_HXX |