diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-04 21:11:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-06 20:10:51 +0200 |
commit | 837aa67861275dd56831cbba03a989b5ad71db4b (patch) | |
tree | 9abd6318ef4a2179c2b3f1e3201f4a5c21fd0dd5 /editeng | |
parent | Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator (diff) | |
download | core-837aa67861275dd56831cbba03a989b5ad71db4b.tar.gz core-837aa67861275dd56831cbba03a989b5ad71db4b.zip |
reduce overzealous naming
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/numitem.hxx | 8 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx index cf7d34409056..a6ef8e64e336 100644 --- a/editeng/inc/editeng/numitem.hxx +++ b/editeng/inc/editeng/numitem.hxx @@ -109,7 +109,7 @@ public: LABEL_WIDTH_AND_POSITION, LABEL_ALIGNMENT }; - enum SvxNumLabelFollowedBy + enum LabelFollowedBy { LISTTAB, SPACE, @@ -147,7 +147,7 @@ private: // specifies what follows the list label before the text of the first line // of the list item starts - SvxNumLabelFollowedBy meLabelFollowedBy; + LabelFollowedBy meLabelFollowedBy; // specifies an additional list tab stop position for meLabelFollowedBy = LISTTAB long mnListtabPos; // specifies the first line indent @@ -224,8 +224,8 @@ public: void SetCharTextDistance(short nSet) { nCharTextDistance = nSet; } short GetCharTextDistance() const; - void SetLabelFollowedBy( const SvxNumLabelFollowedBy eLabelFollowedBy ); - SvxNumLabelFollowedBy GetLabelFollowedBy() const; + void SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy ); + LabelFollowedBy GetLabelFollowedBy() const; void SetListtabPos( const long nListtabPos ); long GetListtabPos() const; void SetFirstLineIndent( const long nFirstLineIndent ); diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 7346805b9de9..fc081b232136 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -438,11 +438,11 @@ short SvxNumberFormat::GetCharTextDistance() const return mePositionAndSpaceMode == LABEL_WIDTH_AND_POSITION ? nCharTextDistance : 0; } -void SvxNumberFormat::SetLabelFollowedBy( const SvxNumLabelFollowedBy eLabelFollowedBy ) +void SvxNumberFormat::SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy ) { meLabelFollowedBy = eLabelFollowedBy; } -SvxNumberFormat::SvxNumLabelFollowedBy SvxNumberFormat::GetLabelFollowedBy() const +SvxNumberFormat::LabelFollowedBy SvxNumberFormat::GetLabelFollowedBy() const { return meLabelFollowedBy; } |