summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-04-01 12:37:22 +0200
committerMichael Stahl <mstahl@redhat.com>2016-04-06 11:47:20 +0200
commite6371f31623a25cc556922735459274ed48e7b7c (patch)
tree38ac3cd34f5af50ba2d38d59098f6875034be184
parent1e3d634e413abf2b4c2a6c70a87586d8c598054c (diff)
sw: fix typo
Change-Id: I1f439382dd11a4082cce20e410ecdbcdab31adb9
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index d9faf9d104be..7693a832e838 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -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