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

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Sat Nov 21 05:55:38 PST 2015


 android/source/src/java/org/libreoffice/FormattingController.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6f5589d5ed1e42512a04658ce57f1088b1fc1757
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Sat Nov 21 14:54:43 2015 +0100

    android: another part where underline and strikethrough commands were swapped
    
    Change-Id: I8fdde4b46e3e315a5b6a35cabc4495ebf69db057

diff --git a/android/source/src/java/org/libreoffice/FormattingController.java b/android/source/src/java/org/libreoffice/FormattingController.java
index bec4ea1..be8639b 100644
--- a/android/source/src/java/org/libreoffice/FormattingController.java
+++ b/android/source/src/java/org/libreoffice/FormattingController.java
@@ -51,10 +51,10 @@ public class FormattingController implements View.OnClickListener {
                 LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Italic"));
                 break;
             case R.id.button_strikethrough:
-                LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Underline"));
+                LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Strikeout"));
                 break;
             case R.id.button_underlined:
-                LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Strikeout"));
+                LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Underline"));
                 break;
             case R.id.button_align_left:
                 LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:LeftPara"));


More information about the Libreoffice-commits mailing list