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

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Sat Nov 21 01:52:56 PST 2015


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

New commits:
commit 9feffdbe0d588fb8307e35737150a16d18ee8595
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Sat Nov 21 10:51:40 2015 +0100

    android: underline and strikethrough commands were swapped
    
    Change-Id: Id7157ea5fadd684dceec52f69ec9279c4107b5f1

diff --git a/android/source/src/java/org/libreoffice/FormattingController.java b/android/source/src/java/org/libreoffice/FormattingController.java
index 26ea085..bec4ea1 100644
--- a/android/source/src/java/org/libreoffice/FormattingController.java
+++ b/android/source/src/java/org/libreoffice/FormattingController.java
@@ -85,10 +85,10 @@ public class FormattingController implements View.OnClickListener {
                         buttonId = R.id.button_italic;
                         break;
                     case Document.UNDERLINE:
-                        buttonId = R.id.button_strikethrough;
+                        buttonId = R.id.button_underlined;
                         break;
                     case Document.STRIKEOUT:
-                        buttonId = R.id.button_underlined;
+                        buttonId = R.id.button_strikethrough;
                         break;
                     case Document.ALIGN_LEFT:
                         buttonId = R.id.button_align_left;


More information about the Libreoffice-commits mailing list