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/fchrfmt.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/fchrfmt.hxx')
-rw-r--r-- | sw/inc/fchrfmt.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx index d70f43a18a82..0e044b0b9dbb 100644 --- a/sw/inc/fchrfmt.hxx +++ b/sw/inc/fchrfmt.hxx @@ -24,29 +24,29 @@ #include <format.hxx> #include <charfmt.hxx> -class SwTxtCharFmt; +class SwTextCharFormat; class IntlWrapper; -class SW_DLLPUBLIC SwFmtCharFmt: public SfxPoolItem, public SwClient +class SW_DLLPUBLIC SwFormatCharFormat: public SfxPoolItem, public SwClient { - friend class SwTxtCharFmt; - SwTxtCharFmt* pTxtAttr; ///< My text attribute. + friend class SwTextCharFormat; + SwTextCharFormat* pTextAttr; ///< My text attribute. public: - SwFmtCharFmt() : pTxtAttr(0) {} + SwFormatCharFormat() : pTextAttr(0) {} /// single argument ctors shall be explicit. - explicit SwFmtCharFmt( SwCharFmt *pFmt ); - virtual ~SwFmtCharFmt(); + explicit SwFormatCharFormat( SwCharFormat *pFormat ); + virtual ~SwFormatCharFormat(); /// @@@ public copy ctor, but no copy assignment? - SwFmtCharFmt( const SwFmtCharFmt& rAttr ); + SwFormatCharFormat( const SwFormatCharFormat& rAttr ); protected: virtual void Modify( const SfxPoolItem*, const SfxPoolItem* ) SAL_OVERRIDE; private: /// @@@ public copy ctor, but no copy assignment? - SwFmtCharFmt & operator= (const SwFmtCharFmt &) SAL_DELETED_FUNCTION; + SwFormatCharFormat & operator= (const SwFormatCharFormat &) SAL_DELETED_FUNCTION; public: TYPEINFO_OVERRIDE(); @@ -65,8 +65,8 @@ public: virtual bool GetInfo( SfxPoolItem& rInfo ) const SAL_OVERRIDE; - void SetCharFmt( SwFmt* pFmt ) { pFmt->Add(this); } - SwCharFmt* GetCharFmt() const { return const_cast<SwCharFmt*>(static_cast<const SwCharFmt*>(GetRegisteredIn())); } + void SetCharFormat( SwFormat* pFormat ) { pFormat->Add(this); } + SwCharFormat* GetCharFormat() const { return const_cast<SwCharFormat*>(static_cast<const SwCharFormat*>(GetRegisteredIn())); } }; #endif |