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/ndnotxt.hxx | |
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/inc/ndnotxt.hxx')
-rw-r--r-- | sw/inc/ndnotxt.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 584fd5c24baa..ec0f494f6112 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -23,12 +23,12 @@ namespace tools { class PolyPolygon; } -// SwNoTxtNode +// SwNoTextNode -class SW_DLLPUBLIC SwNoTxtNode : public SwCntntNode +class SW_DLLPUBLIC SwNoTextNode : public SwContentNode { friend class SwNodes; - friend class SwNoTxtFrm; + friend class SwNoTextFrm; tools::PolyPolygon *pContour; bool bAutomaticContour : 1; // automatic contour polygon, not manipulated @@ -38,22 +38,22 @@ class SW_DLLPUBLIC SwNoTxtNode : public SwCntntNode bool bPixelContour : 1; // contour map mode is invalid and pixel. // Creates for all derivations an AttrSet with ranges for frame- and - // graphics-attributes (only called by SwCntntNode). + // graphics-attributes (only called by SwContentNode). virtual void NewAttrSet( SwAttrPool& ) SAL_OVERRIDE; - SwNoTxtNode( const SwNoTxtNode& ) SAL_DELETED_FUNCTION; - SwNoTxtNode &operator=( const SwNoTxtNode& ) SAL_DELETED_FUNCTION; + SwNoTextNode( const SwNoTextNode& ) SAL_DELETED_FUNCTION; + SwNoTextNode &operator=( const SwNoTextNode& ) SAL_DELETED_FUNCTION; protected: - SwNoTxtNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType, - SwGrfFmtColl *pGrColl, SwAttrSet* pAutoAttr = 0 ); + SwNoTextNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType, + SwGrfFormatColl *pGrColl, SwAttrSet* pAutoAttr = 0 ); public: - virtual ~SwNoTxtNode(); + virtual ~SwNoTextNode(); - virtual SwCntntFrm *MakeFrm( SwFrm* ) SAL_OVERRIDE; + virtual SwContentFrm *MakeFrm( SwFrm* ) SAL_OVERRIDE; - inline SwGrfFmtColl *GetGrfColl() const { return const_cast<SwGrfFmtColl*>(static_cast<const SwGrfFmtColl*>(GetRegisteredIn())); } + inline SwGrfFormatColl *GetGrfColl() const { return const_cast<SwGrfFormatColl*>(static_cast<const SwGrfFormatColl*>(GetRegisteredIn())); } virtual Size GetTwipSize() const = 0; @@ -90,14 +90,14 @@ public: Graphic GetGraphic() const; }; -// Inline methods from Node.hxx - we know TxtNode only here!! -inline SwNoTxtNode *SwNode::GetNoTxtNode() +// Inline methods from Node.hxx - we know TextNode only here!! +inline SwNoTextNode *SwNode::GetNoTextNode() { - return ND_NOTXTNODE & nNodeType ? static_cast<SwNoTxtNode*>(this) : 0; + return ND_NOTXTNODE & nNodeType ? static_cast<SwNoTextNode*>(this) : 0; } -inline const SwNoTxtNode *SwNode::GetNoTxtNode() const +inline const SwNoTextNode *SwNode::GetNoTextNode() const { - return ND_NOTXTNODE & nNodeType ? static_cast<const SwNoTxtNode*>(this) : 0; + return ND_NOTXTNODE & nNodeType ? static_cast<const SwNoTextNode*>(this) : 0; } #endif // INCLUDED_SW_INC_NDNOTXT_HXX |