diff --git a/addon/Tabellio.py b/addon/Tabellio.py index 9e8cc8b..e0cfb21 100644 --- a/addon/Tabellio.py +++ b/addon/Tabellio.py @@ -772,14 +772,14 @@ class ListStyleApply(unohelper.Base, XJobExecutor): found_bullet_fontname_prop = False log.append('style level %s as %s' % (level, style)) for i, prop in enumerate(props): - log.append(' initial prop: %s: %s' % (prop.Name, prop.Value)) + log.append(' initial prop: %s: %r' % (prop.Name, prop.Value)) if prop.Name == 'CharStyleName': if style in ('DASH', 'BULLET'): prop.Value = 'Bullet Symbols' else: prop.Value = 'Numbering Symbols' log.append(' -> changed to %r' % prop.Value) - elif prop.Name == 'BulletChar': + elif prop.Name == 'BulletChar' and style in ('DASH', 'BULLET'): found_bullet_char_prop = True if style == 'DASH': prop.Value = '-' diff --git a/addon/description.xml b/addon/description.xml index 6183a49..810b1ca 100644 --- a/addon/description.xml +++ b/addon/description.xml @@ -1,7 +1,7 @@ - +