summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-28 14:37:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-29 11:41:03 +0200
commit1ecb924b0bb56abcbc0973c4efa1c866af7e757b (patch)
tree936d0dbc2e751492a929a36cb81ea228209062ba
parent2c0ce6d89c3b1ab9febd085520330f01f89c3b9a (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: I28048bb0396dffa7bcbcb8bcf5fe10e1c359ec79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101624 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sw/source/filter/ww8/ww8par.hxx4
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 8b0c6f51f339..89cd22a60ddc 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -251,7 +251,7 @@ public:
bool m_bImportSkipped; // only true if !bNewDoc && existing style
bool m_bHasStyNumRule; // true-> named NumRule in style
bool m_bHasBrokenWW6List; // true-> WW8+ style has a WW7- list
- bool m_bListReleventIndentSet; //true if this style's indent has
+ bool m_bListRelevantIndentSet; //true if this style's indent has
//been explicitly set, it's set to the value
//of pFormat->GetItemState(RES_LR_SPACE, false)
//if it was possible to get the ItemState
@@ -283,7 +283,7 @@ public:
m_bImportSkipped(false),
m_bHasStyNumRule(false),
m_bHasBrokenWW6List(false),
- m_bListReleventIndentSet(false),
+ m_bListRelevantIndentSet(false),
m_bParaAutoBefore(false),
m_bParaAutoAfter(false),
m_nRelativeJustify(-1)
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 6a905d5279dd..3fbe650cb51f 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -1658,7 +1658,7 @@ void UseListIndent(SwWW8StyInf &rStyle, const SwNumFormat &rFormat)
aLR.SetTextLeft(nAbsLSpace);
aLR.SetTextFirstLineOffset(writer_cast<short>(nListFirstLineIndent));
rStyle.m_pFormat->SetFormatAttr(aLR);
- rStyle.m_bListReleventIndentSet = true;
+ rStyle.m_bListRelevantIndentSet = true;
}
}
@@ -1668,7 +1668,7 @@ void SetStyleIndent(SwWW8StyInf &rStyle, const SwNumFormat &rFormat)
return;
SvxLRSpaceItem aLR(ItemGet<SvxLRSpaceItem>(*rStyle.m_pFormat, RES_LR_SPACE));
- if (rStyle.m_bListReleventIndentSet)
+ if (rStyle.m_bListRelevantIndentSet)
{
SyncIndentWithList( aLR, rFormat, false, false ); // #i103711#, #i105414#
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 8ca82678a206..2d81fa4ba612 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -4232,7 +4232,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const sal_uInt8* pData, short nLe
aLR->SetTextLeft( nPara );
if (m_pCurrentColl && m_nCurrentColl < m_vColl.size())
{
- m_vColl[m_nCurrentColl].m_bListReleventIndentSet = true;
+ m_vColl[m_nCurrentColl].m_bListRelevantIndentSet = true;
}
bLeftIndentSet = true; // #i105414#
break;
@@ -4285,7 +4285,7 @@ void SwWW8ImplReader::Read_LR( sal_uInt16 nId, const sal_uInt8* pData, short nLe
}
if (m_pCurrentColl && m_nCurrentColl < m_vColl.size())
{
- m_vColl[m_nCurrentColl].m_bListReleventIndentSet = true;
+ m_vColl[m_nCurrentColl].m_bListRelevantIndentSet = true;
}
bFirstLinOfstSet = true; // #i103711#
break;