[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - vcl/source

Pranav Kant pranavk at collabora.co.uk
Wed Feb 21 16:04:12 UTC 2018


 vcl/source/window/window.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba114965731dca5e2aba4484124c016ee390572b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Fri Feb 16 12:25:13 2018 +0530

    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 at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

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);


More information about the Libreoffice-commits mailing list