summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-05 15:22:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-06 17:30:32 +0100
commit3eba9b681994129da5be5b03f9aaa1ab2b7583aa (patch)
treedc26c6efe98bb14bebaaf6d7fa8c41de16634ba2 /include
parentd0ec225bf654bb998fd1e62a1b832aa20464fb90 (diff)
rename nFirstLineOfst -> nFirstLineOffset
Change-Id: Ic56453d5bffe5b0c0edd354bbaa2c3e78db52a13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88026 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/lrspitem.hxx8
-rw-r--r--include/svx/paraprev.hxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx
index 6293d3479216..4fd809ae600e 100644
--- a/include/editeng/lrspitem.hxx
+++ b/include/editeng/lrspitem.hxx
@@ -53,7 +53,7 @@ class EDITENG_DLLPUBLIC SvxLRSpaceItem final : public SfxPoolItem
long nRightMargin; // The unproblematic right edge
sal_uInt16 nPropFirstLineOffset, nPropLeftMargin, nPropRightMargin;
- short nFirstLineOfst; // First-line indent _always_ relative to nTxtLeft
+ short nFirstLineOffset; // First-line indent _always_ relative to nTxtLeft
bool bAutoFirst; // Automatic calculation of the first line indent
bool bExplicitZeroMarginValRight;
bool bExplicitZeroMarginValLeft;
@@ -109,13 +109,13 @@ public:
long GetTextLeft() const { return nTxtLeft; }
inline void SetTextFirstLineOffset( const short nF, const sal_uInt16 nProp = 100 );
- short GetTextFirstLineOffset() const { return nFirstLineOfst; }
+ short GetTextFirstLineOffset() const { return nFirstLineOffset; }
void SetPropTextFirstLineOffset( const sal_uInt16 nProp )
{ nPropFirstLineOffset = nProp; }
sal_uInt16 GetPropTextFirstLineOffset() const
{ return nPropFirstLineOffset; }
void SetTextFirstLineOffsetValue( const short nValue )
- { nFirstLineOfst = nValue; }
+ { nFirstLineOffset = nValue; }
void dumpAsXml(xmlTextWriterPtr pWriter) const override;
virtual boost::property_tree::ptree dumpAsJSON() const override;
@@ -139,7 +139,7 @@ inline void SvxLRSpaceItem::SetRight( const long nR, const sal_uInt16 nProp )
inline void SvxLRSpaceItem::SetTextFirstLineOffset( const short nF,
const sal_uInt16 nProp )
{
- nFirstLineOfst = short((long(nF) * nProp ) / 100);
+ nFirstLineOffset = short((long(nF) * nProp ) / 100);
nPropFirstLineOffset = nProp;
AdjustLeft();
}
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx
index 885a22f1b171..8eb4001a75d7 100644
--- a/include/svx/paraprev.hxx
+++ b/include/svx/paraprev.hxx
@@ -41,7 +41,7 @@ class SVX_DLLPUBLIC SvxParaPrevWindow final : public weld::CustomWidgetControlle
// indentation
long nLeftMargin;
long nRightMargin;
- short nFirstLineOfst;
+ short nFirstLineOffset;
// distances
sal_uInt16 nUpper;
sal_uInt16 nLower;
@@ -61,7 +61,7 @@ public:
void SetFirstLineOffset( short nNew )
{
- nFirstLineOfst = nNew;
+ nFirstLineOffset = nNew;
}
void SetLeftMargin( long nNew )
{