diff --git a/addon/Tabellio.py b/addon/Tabellio.py index b85ee67..9e8cc8b 100644 --- a/addon/Tabellio.py +++ b/addon/Tabellio.py @@ -819,7 +819,7 @@ class ListStyleApply(unohelper.Base, XJobExecutor): props = tuple(props) uno.invoke(numberingrules, 'replaceByIndex', - (level+123, uno.Any("[]com.sun.star.beans.PropertyValue", props)) ) + (level, uno.Any("[]com.sun.star.beans.PropertyValue", props)) ) textcursor.setPropertyValue('NumberingRules', numberingrules) except Exception, e: display_exception(self.ctx)