summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/editeng/lrspitem.hxx8
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();
}