diff options
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r-- | vcl/source/window/window2.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 25b642b84d79..acab1b85f931 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -1865,6 +1865,12 @@ bool Window::set_font_attribute(const OString &rKey, const OString &rValue) aFont.SetItalic(ITALIC_NORMAL); SetControlFont(aFont); } + else if (rKey == "underline" && rValue == "True") + { + Font aFont(GetControlFont()); + aFont.SetUnderline(UNDERLINE_SINGLE); + SetControlFont(aFont); + } else { SAL_INFO("vcl.layout", "unhandled font attribute: " << rKey.getStr()); |