diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-29 17:43:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-31 04:31:13 +0000 |
commit | 3187193a6142b4b1c974ae1e1de572fa74a3c8ee (patch) | |
tree | 6d9350492186d06a38703821336ba79cb72a8583 /vcl/source/control | |
parent | 0bc3af3c1f719f9758ac01ff0b526abea7af0490 (diff) |
tools: rename FontUnderline to FontLineStyle
Change-Id: I4750ad8569a1003b2f8c29052f3e25003ee433ca
Reviewed-on: https://gerrit.libreoffice.org/21892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 10 | ||||
-rw-r--r-- | vcl/source/control/fixedhyper.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 31538e842d9f..55acf9f1415a 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -688,16 +688,16 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec { vcl::Font aFont = rRenderContext.GetFont(); if (nAttr & EXTTEXTINPUT_ATTR_UNDERLINE) - aFont.SetUnderline(UNDERLINE_SINGLE); + aFont.SetUnderline(LINESTYLE_SINGLE); else if (nAttr & EXTTEXTINPUT_ATTR_BOLDUNDERLINE) - aFont.SetUnderline( UNDERLINE_BOLD); + aFont.SetUnderline( LINESTYLE_BOLD); else if (nAttr & EXTTEXTINPUT_ATTR_DOTTEDUNDERLINE) - aFont.SetUnderline( UNDERLINE_DOTTED); + aFont.SetUnderline( LINESTYLE_DOTTED); else if (nAttr & EXTTEXTINPUT_ATTR_DASHDOTUNDERLINE) - aFont.SetUnderline( UNDERLINE_DASHDOT); + aFont.SetUnderline( LINESTYLE_DASHDOT); else if (nAttr & EXTTEXTINPUT_ATTR_GRAYWAVELINE) { - aFont.SetUnderline(UNDERLINE_WAVE); + aFont.SetUnderline(LINESTYLE_WAVE); rRenderContext.SetTextLineColor(Color(COL_LIGHTGRAY)); } rRenderContext.SetFont(aFont); diff --git a/vcl/source/control/fixedhyper.cxx b/vcl/source/control/fixedhyper.cxx index a4ec5e784a82..da53f9a18824 100644 --- a/vcl/source/control/fixedhyper.cxx +++ b/vcl/source/control/fixedhyper.cxx @@ -33,7 +33,7 @@ void FixedHyperlink::Initialize() // changes the font vcl::Font aFont = GetControlFont( ); // to underline - aFont.SetUnderline( UNDERLINE_SINGLE ); + aFont.SetUnderline( LINESTYLE_SINGLE ); SetControlFont( aFont ); // changes the color to light blue SetControlForeground( Color( COL_LIGHTBLUE ) ); |