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

Andrea Gelmini andrea.gelmini at gelma.net
Thu Feb 1 10:09:13 UTC 2018


 android/source/src/java/org/libreoffice/FontController.java |    2 +-
 compilerplugins/clang/test/unusedfields.cxx                 |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5acfb93c6461589bcb5b92ae363b0aed6424b9a2
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Jan 31 22:25:36 2018 +0100

    Fix typos
    
    Change-Id: Icb4f4d9039278318d5f7f6302d57957b2c02bdb8
    Reviewed-on: https://gerrit.libreoffice.org/49069
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/android/source/src/java/org/libreoffice/FontController.java b/android/source/src/java/org/libreoffice/FontController.java
index 04fc6ccaa234..321b501e8891 100644
--- a/android/source/src/java/org/libreoffice/FontController.java
+++ b/android/source/src/java/org/libreoffice/FontController.java
@@ -152,7 +152,7 @@ public class FontController implements AdapterView.OnItemSelectedListener {
 
     /*
      * 0x00FFFFFF & color operation removes the alpha which is FF,
-     * if we dont remove it, the color value becomes negative which is not recognized by LOK
+     * if we don't remove it, the color value becomes negative which is not recognized by LOK
      */
     private void sendFontBackColorChange(int color){
         try {
diff --git a/compilerplugins/clang/test/unusedfields.cxx b/compilerplugins/clang/test/unusedfields.cxx
index 21e59fcbbdd1..db71aeb199e4 100644
--- a/compilerplugins/clang/test/unusedfields.cxx
+++ b/compilerplugins/clang/test/unusedfields.cxx
@@ -57,10 +57,10 @@ struct Bar
     // check that we don't see reads when inside copy/move assignment operator
     Bar& operator=(Bar const & other) { m_bar3 = other.m_bar3; return *this; }
 
-    // check that we DONT see reads here
+    // check that we DON'T see reads here
     int bar2() { return m_bar2; }
 
-    // check that we DONT see reads here
+    // check that we DON'T see reads here
     void bar3()
     {
         m_bar3 = nullptr;
@@ -130,7 +130,7 @@ struct ReadOnlyAnalysis
     int m_f5;
     int m_f6;
 
-    // check that we dont see a write of m_f1
+    // check that we don't see a write of m_f1
     ReadOnlyAnalysis() : m_f1(0) {}
 
     void method1(int&);


More information about the Libreoffice-commits mailing list