From c01dfafdea153003337a453d39e8634bd378decc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 22 Oct 2014 13:54:16 +0200 Subject: [PATCH] disable hack to force exception --- addon/Tabellio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)