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 /include/editeng/protitem.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 'include/editeng/protitem.hxx')
-rw-r--r-- | include/editeng/protitem.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx index 66fa1a30d1ca..119a8dd3a4ba 100644 --- a/include/editeng/protitem.hxx +++ b/include/editeng/protitem.hxx @@ -57,10 +57,10 @@ public: virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const SAL_OVERRIDE; virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const SAL_OVERRIDE; - bool IsCntntProtected() const { return bCntnt; } + bool IsContentProtected() const { return bCntnt; } bool IsSizeProtected() const { return bSize; } bool IsPosProtected() const { return bPos; } - void SetCntntProtect( bool bNew ) { bCntnt = bNew; } + void SetContentProtect( bool bNew ) { bCntnt = bNew; } void SetSizeProtect ( bool bNew ) { bSize = bNew; } void SetPosProtect ( bool bNew ) { bPos = bNew; } @@ -77,7 +77,7 @@ inline SvxProtectItem::SvxProtectItem( const sal_uInt16 nId ) inline SvxProtectItem &SvxProtectItem::operator=( const SvxProtectItem &rCpy ) { - bCntnt = rCpy.IsCntntProtected(); + bCntnt = rCpy.IsContentProtected(); bSize = rCpy.IsSizeProtected(); bPos = rCpy.IsPosProtected(); return *this; |