[Libreoffice-commits] core.git: 2 commits - connectivity/qa stoc/test udkapi/com

Julien Nabet serval2412 at yahoo.fr
Sun Feb 8 09:31:36 PST 2015


 connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java |    6 ++---
 stoc/test/testregistry.cxx                                           |   12 +++++-----
 udkapi/com/sun/star/registry/XRegistryKey.idl                        |    2 -
 3 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 4f604f6b23b825593b401b0f212601dc5f38f85f
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 8 18:30:29 2015 +0100

    Typos + simple german translations
    
    Change-Id: Icc0e9f028b393abb062a880519211be4fcd1d4b3

diff --git a/connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java b/connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java
index d131e2a..4d5dc2d 100644
--- a/connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java
+++ b/connectivity/qa/complex/connectivity/dbase/DBaseStringFunctions.java
@@ -67,7 +67,7 @@ public class DBaseStringFunctions extends SubTestCase
         }
         try
         {
-            acsii(xRowRes);
+            ascii(xRowRes);
         }
         catch (SQLException ex)
         {
@@ -222,10 +222,10 @@ public class DBaseStringFunctions extends SubTestCase
         where = temp;
     }
 
-    private void acsii(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
+    private void ascii(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
     {
         final XRow row = execute(xRowRes, "ASCII('2') ");
-        assure("acsii('2') failed!", row.getInt(1) == 50);
+        assure("ascii('2') failed!", row.getInt(1) == 50);
     }
 
     private void char_length(final XRowSet xRowRes) throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException
diff --git a/stoc/test/testregistry.cxx b/stoc/test/testregistry.cxx
index 9abeb38..bf8b0fe 100644
--- a/stoc/test/testregistry.cxx
+++ b/stoc/test/testregistry.cxx
@@ -212,13 +212,13 @@ void test_SimpleRegistry(
         xSubKey->setLongValue(123456789);
 
         xSubKey = xKey->createKey(OUString( "SecondSubKey" ));
-        xSubKey->setAsciiValue(OUString( "ich bin ein acsii value" ));
+        xSubKey->setAsciiValue(OUString( "I'm an ascii value" ));
 
         xSubKey = xKey->createKey(OUString( "ThirdSubKey" ));
-        xSubKey->setStringValue(OUString( "ich bin ein unicode value" ));
+        xSubKey->setStringValue(OUString( "I'm an Unicode value" ));
 
         xSubKey = xKey->createKey(OUString( "FourthSubKey" ));
-        Sequence<sal_Int8> aSeq((sal_Int8*)"ich bin ein binary value", 25);
+        Sequence<sal_Int8> aSeq((sal_Int8*)"I'm a binary value", 25);
         xSubKey->setBinaryValue(aSeq);
 
         Sequence<OUString> seqNames = xKey->getKeyNames();
@@ -237,18 +237,18 @@ void test_SimpleRegistry(
             } else
             if (name == "/FirstKey/SecondSubKey" )
             {
-                OSL_ENSURE( xSubKey->getAsciiValue() == "ich bin ein acsii value",
+                OSL_ENSURE( xSubKey->getAsciiValue() == "I'm an ascii value",
                             "test_SimpleRegistry error 11" );
             } else
             if (name == "/FirstKey/ThirdSubKey" )
             {
-                OSL_ENSURE( xSubKey->getStringValue() == "ich bin ein unicode value",
+                OSL_ENSURE( xSubKey->getStringValue() == "I'm an Unicode value",
                             "test_SimpleRegistry error 12" );
             } else
             if (name == "/FirstKey/FourthSubKey" )
             {
                 Sequence<sal_Int8> seqByte = xSubKey->getBinaryValue();
-                OSL_ENSURE(!strcmp(((const char*)seqByte.getArray()), "ich bin ein binary value"),
+                OSL_ENSURE(!strcmp(((const char*)seqByte.getArray()), "I'm a binary value"),
                             "test_SimpleRegistry error 13" );
             }
 
commit 14e83984034e053c587ff328ce6fdb3eda26a454
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 8 18:27:26 2015 +0100

    Typo: asci->ascii
    
    Change-Id: I5b8ab825d607e962bdc6c2c34d1683651f198b94

diff --git a/udkapi/com/sun/star/registry/XRegistryKey.idl b/udkapi/com/sun/star/registry/XRegistryKey.idl
index a7bb78d..522870a 100644
--- a/udkapi/com/sun/star/registry/XRegistryKey.idl
+++ b/udkapi/com/sun/star/registry/XRegistryKey.idl
@@ -159,7 +159,7 @@ published interface XRegistryKey: com::sun::star::uno::XInterface
 
     // DOCUMENTATION CHANGED FOR XRegistryKey::getAsciiListValue
     /** @returns
-        a sequence of ascii strings if the key contains an asci list value.
+        a sequence of ascii strings if the key contains an ascii list value.
 
          @throws InvalidRegistryException
          if the registry is not open.


More information about the Libreoffice-commits mailing list