Kaydet (Commit) e6371f31 authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix typo

Change-Id: I1f439382dd11a4082cce20e410ecdbcdab31adb9
üst 1e3d634e
......@@ -4070,7 +4070,7 @@ bool SwTextNode::AreListLevelIndentsApplicable() const
*/
bool SwTextNode::GetListTabStopPosition( long& nListTabStopPosition ) const
{
bool bListTanStopPositionProvided( false );
bool bListTabStopPositionProvided(false);
const SwNumRule* pNumRule = GetNum() ? GetNum()->GetNumRule() : nullptr;
if ( pNumRule && HasVisibleNumberingOrBullet() && GetActualListLevel() >= 0 )
......@@ -4079,7 +4079,7 @@ bool SwTextNode::GetListTabStopPosition( long& nListTabStopPosition ) const
if ( rFormat.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT &&
rFormat.GetLabelFollowedBy() == SvxNumberFormat::LISTTAB )
{
bListTanStopPositionProvided = true;
bListTabStopPositionProvided = true;
nListTabStopPosition = rFormat.GetListtabPos();
if ( getIDocumentSettingAccess()->get(DocumentSettingId::TABS_RELATIVE_TO_INDENT) )
......@@ -4099,7 +4099,7 @@ bool SwTextNode::GetListTabStopPosition( long& nListTabStopPosition ) const
}
}
return bListTanStopPositionProvided;
return bListTabStopPositionProvided;
}
OUString SwTextNode::GetLabelFollowedBy() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment