summaryrefslogtreecommitdiff
path: root/xmloff/source/style/undlihdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/undlihdl.cxx')
-rw-r--r--xmloff/source/style/undlihdl.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/style/undlihdl.cxx b/xmloff/source/style/undlihdl.cxx
index 268d04239049..2832d113519a 100644
--- a/xmloff/source/style/undlihdl.cxx
+++ b/xmloff/source/style/undlihdl.cxx
@@ -233,7 +233,9 @@ bool XMLUnderlineStylePropHdl::importXML( const OUString& rStrImpValue, uno::Any
eNewUnderline = awt::FontUnderline::BOLDDASHDOTDOT;
break;
case awt::FontUnderline::WAVE:
- if( awt::FontUnderline::BOLD == eUnderline )
+ if( awt::FontUnderline::DOUBLE == eUnderline )
+ eNewUnderline = awt::FontUnderline::DOUBLEWAVE;
+ else if( awt::FontUnderline::BOLD == eUnderline )
eNewUnderline = awt::FontUnderline::BOLDWAVE;
break;
case awt::FontUnderline::SMALLWAVE: