[Libreoffice-commits] core.git: vcl/source

Pranav Kant pranavk at collabora.co.uk
Mon Feb 19 07:55:10 UTC 2018


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

New commits:
commit 05e4ce8643cc4cba6e86779af162caf79c2c7bf3
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

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 388c793c03d7..111194255057 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2078,7 +2078,7 @@ void Window::PostExtTextInputEvent(VclEventId 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