summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/shells/txtattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/uibase/shells/txtattr.cxx')
-rw-r--r--sw/source/core/uibase/shells/txtattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/shells/txtattr.cxx b/sw/source/core/uibase/shells/txtattr.cxx
index 47d7e9312acb..1b4350b31c08 100644
--- a/sw/source/core/uibase/shells/txtattr.cxx
+++ b/sw/source/core/uibase/shells/txtattr.cxx
@@ -355,7 +355,7 @@ SET_LINESPACE:
aAdjust.SetWhich(SID_ATTR_PARA_ADJUST);
GetView().GetViewFrame()->GetBindings().SetState( aAdjust );
// Toggle numbering alignment
- const SwNumRule* pCurRule = GetShell().GetCurNumRule();
+ const SwNumRule* pCurRule = GetShell().GetNumRuleAtCurrCrsrPos();
if( pCurRule )
{
SvxNumRule aRule = pCurRule->MakeSvxNumRule();