diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-05 15:21:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-06 12:04:28 +0100 |
commit | fa2389e3f5cbbdd937d7d70531b58c933a79c336 (patch) | |
tree | fa6c4b3674649221152ed26a45f7b41ba0d653c1 /include | |
parent | b0eab81b25b00f1ec74506778bcacffc2f4a15cf (diff) |
rename nPropFirstLineOfst->nPropFirstLineOffset
Change-Id: I4a51d84131eda55f80e9e3932a8bf8290e1c27c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88025
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/lrspitem.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx index 5567c3c03b9f..6293d3479216 100644 --- a/include/editeng/lrspitem.hxx +++ b/include/editeng/lrspitem.hxx @@ -52,7 +52,7 @@ class EDITENG_DLLPUBLIC SvxLRSpaceItem final : public SfxPoolItem long nLeftMargin; // nLeft or the negative first-line indent long nRightMargin; // The unproblematic right edge - sal_uInt16 nPropFirstLineOfst, nPropLeftMargin, nPropRightMargin; + sal_uInt16 nPropFirstLineOffset, nPropLeftMargin, nPropRightMargin; short nFirstLineOfst; // First-line indent _always_ relative to nTxtLeft bool bAutoFirst; // Automatic calculation of the first line indent bool bExplicitZeroMarginValRight; @@ -111,9 +111,9 @@ public: inline void SetTextFirstLineOffset( const short nF, const sal_uInt16 nProp = 100 ); short GetTextFirstLineOffset() const { return nFirstLineOfst; } void SetPropTextFirstLineOffset( const sal_uInt16 nProp ) - { nPropFirstLineOfst = nProp; } + { nPropFirstLineOffset = nProp; } sal_uInt16 GetPropTextFirstLineOffset() const - { return nPropFirstLineOfst; } + { return nPropFirstLineOffset; } void SetTextFirstLineOffsetValue( const short nValue ) { nFirstLineOfst = nValue; } @@ -140,7 +140,7 @@ inline void SvxLRSpaceItem::SetTextFirstLineOffset( const short nF, const sal_uInt16 nProp ) { nFirstLineOfst = short((long(nF) * nProp ) / 100); - nPropFirstLineOfst = nProp; + nPropFirstLineOffset = nProp; AdjustLeft(); } |