summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlnumi.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index b3680e10b868..6d5b221f687e 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -315,7 +315,8 @@ SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl(
sTextStyleName = rValue;
break;
case XML_TOK_TEXT_LEVEL_ATTR_BULLET_CHAR:
- cBullet = rValue[0];
+ if (!rValue.isEmpty())
+ cBullet = rValue[0];
break;
case XML_TOK_TEXT_LEVEL_ATTR_HREF:
if( bImage )