summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-02-16 12:25:13 +0530
committerJan Holesovsky <kendy@collabora.com>2018-02-21 17:03:49 +0100
commitba114965731dca5e2aba4484124c016ee390572b (patch)
tree1f44c84b5d3cfbf0e8745052d270f3029aa44756 /vcl
parentc565a1a36dc6e75744df284edbb36ffd09edc42b (diff)
lok IME: underline characters which are being composed
Change-Id: Ibfc35f1668228400f37ec9b0b0350583483f484d (cherry picked from commit 05e4ce8643cc4cba6e86779af162caf79c2c7bf3) Reviewed-on: https://gerrit.libreoffice.org/49966 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 9f1e2c8c2c36..904932623a92 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2111,7 +2111,7 @@ void Window::PostExtTextInputEvent(int nType, const OUString& rText)
{
std::unique_ptr<ExtTextInputAttr[]> pAttr(new ExtTextInputAttr[rText.getLength()]);
for (int i = 0; i < rText.getLength(); ++i) {
- pAttr[i] = ExtTextInputAttr::NONE;
+ pAttr[i] = ExtTextInputAttr::Underline;
}
SalExtTextInputEvent aEvent { rText, pAttr.get(), rText.getLength(), EXTTEXTINPUT_CURSOR_OVERWRITE };
ImplWindowFrameProc(this, SalEvent::ExtTextInput, &aEvent);