From ab465b90f6c6da5595393a0ba73f33a1e71a2b65 Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Wed, 20 May 2015 13:05:49 +0200 Subject: bin/rename-sw-abbreviations.sh renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9 --- sw/source/filter/inc/fltshell.hxx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'sw/source/filter/inc/fltshell.hxx') diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx index 94301c82bd8c..57fd9f5df436 100644 --- a/sw/source/filter/inc/fltshell.hxx +++ b/sw/source/filter/inc/fltshell.hxx @@ -58,40 +58,40 @@ struct SW_DLLPUBLIC SwFltPosition { public: SwNodeIndex m_nNode; - sal_Int32 m_nCntnt; + sal_Int32 m_nContent; public: SwFltPosition(const SwFltPosition &rOther) : m_nNode(rOther.m_nNode) - , m_nCntnt(rOther.m_nCntnt) + , m_nContent(rOther.m_nContent) { } SwFltPosition &operator=(const SwFltPosition &rOther) { m_nNode = rOther.m_nNode; - m_nCntnt = rOther.m_nCntnt; + m_nContent = rOther.m_nContent; return *this; } bool operator==(const SwFltPosition &rOther) const { - return (m_nCntnt == rOther.m_nCntnt && + return (m_nContent == rOther.m_nContent && m_nNode == rOther.m_nNode); } void SetPos(SwNodeIndex &rNode, sal_uInt16 nIdx) { m_nNode = rNode; - m_nCntnt = nIdx; + m_nContent = nIdx; } //operators with SwPosition, where the node is hacked to the previous one, //and the offset to content is de-dynamic-ified SwFltPosition(const SwPosition &rPos) : m_nNode(rPos.nNode, -1) - , m_nCntnt(rPos.nContent.GetIndex()) + , m_nContent(rPos.nContent.GetIndex()) { } void SetPos(const SwPosition &rPos) { m_nNode = rPos.nNode.GetIndex()-1; - m_nCntnt = rPos.nContent.GetIndex(); + m_nContent = rPos.nContent.GetIndex(); } }; @@ -184,7 +184,7 @@ public: void StealAttr(const SwNodeIndex& rNode, sal_uInt16 nAttrId = 0); void MarkAllAttrsOld(); void KillUnlockedAttrs(const SwPosition& pPos); - SfxPoolItem* GetFmtStackAttr(sal_uInt16 nWhich, sal_uInt16 * pPos = 0); + SfxPoolItem* GetFormatStackAttr(sal_uInt16 nWhich, sal_uInt16 * pPos = 0); const SfxPoolItem* GetOpenStackAttr(const SwPosition& rPos, sal_uInt16 nWhich); void Delete(const SwPaM &rPam); @@ -199,20 +199,20 @@ class SwFltAnchorClient; class SW_DLLPUBLIC SwFltAnchor : public SfxPoolItem { - SwFrmFmt* pFrmFmt; + SwFrameFormat* pFrameFormat; SwFltAnchorClient * pClient; public: - SwFltAnchor(SwFrmFmt* pFlyFmt); + SwFltAnchor(SwFrameFormat* pFlyFormat); SwFltAnchor(const SwFltAnchor&); virtual ~SwFltAnchor(); // "pure virtual Methoden" vom SfxPoolItem virtual bool operator==(const SfxPoolItem&) const SAL_OVERRIDE; virtual SfxPoolItem* Clone(SfxItemPool* = 0) const SAL_OVERRIDE; - void SetFrmFmt(SwFrmFmt * _pFrmFmt); - const SwFrmFmt* GetFrmFmt() const { return pFrmFmt;} - SwFrmFmt* GetFrmFmt() { return pFrmFmt;} + void SetFrameFormat(SwFrameFormat * _pFrameFormat); + const SwFrameFormat* GetFrameFormat() const { return pFrameFormat;} + SwFrameFormat* GetFrameFormat() { return pFrameFormat;} }; class SwFltAnchorClient : public SwClient -- cgit