[Libreoffice-commits] core.git: editeng/source extensions/test qadevOOo/tests
Andrea Gelmini
andrea.gelmini at gelma.net
Wed Jan 31 15:39:37 UTC 2018
editeng/source/editeng/impedit.cxx | 2 +-
extensions/test/ole/StarBasic_OleClient/oleclient.bas | 4 ++--
extensions/test/ole/VisualBasic/Module1.vb | 2 +-
qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java | 8 ++++----
qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java | 4 ++--
qadevOOo/tests/java/mod/_lng/DicList.java | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
New commits:
commit b794ea5ba1408418aa3987d8538846890f6413d8
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Wed Jan 31 14:56:23 2018 +0100
Fix typos
Complete commit 8310642c6c404ea501b8be5ae4d12860e1562ac9
It passed "make check"
Change-Id: If599bf7b66c972f225f88802d10c70bea4783a38
Reviewed-on: https://gerrit.libreoffice.org/48998
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index f7f17639c6eb..0d531faa8854 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -963,7 +963,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor )
if ( aEditCursor.Right() > aTmpVisArea.Right() )
{
- // Scroll left, positiv
+ // Scroll left, positive
nDocDiffX = aEditCursor.Right() - aTmpVisArea.Right();
// Can it be a little more?
if ( aEditCursor.Right() < ( nMaxTextWidth - GetScrollDiffX() ) )
diff --git a/extensions/test/ole/StarBasic_OleClient/oleclient.bas b/extensions/test/ole/StarBasic_OleClient/oleclient.bas
index ed0b322a8eef..e640d434d240 100644
--- a/extensions/test/ole/StarBasic_OleClient/oleclient.bas
+++ b/extensions/test/ole/StarBasic_OleClient/oleclient.bas
@@ -216,7 +216,7 @@ inUnknown2 = inUnknown
obj.inoutUnknown(inUnknown2)
outUnknown = Nothing
obj.inoutUnknown(outUnknown)
-inDecimal = CDec("18446744073709551615") 'highest positiv value of unsigne int64
+inDecimal = CDec("18446744073709551615") 'highest positive value of unsigned int64
inDecimal2 = inDecimal
obj.inoutDecimal(inDecimal2)
outDecimal = 0
@@ -576,7 +576,7 @@ If Not IsNull(outObject) Then
Exit Function
End If
'Decimal passed by reference
-inrefDecimal = CDec("9223372036854775807") 'highest positiv value of int64
+inrefDecimal = CDec("9223372036854775807") 'highest positive value of int64
obj.inrefDecimal(inrefDecimal)
outrefDecimal = 0
obj.outDecimal(outrefDecimal)
diff --git a/extensions/test/ole/VisualBasic/Module1.vb b/extensions/test/ole/VisualBasic/Module1.vb
index 03da7399ffd4..f4acd19170a6 100644
--- a/extensions/test/ole/VisualBasic/Module1.vb
+++ b/extensions/test/ole/VisualBasic/Module1.vb
@@ -291,7 +291,7 @@ Public Sub Main()
retULong = outULong
objOleTest.testinout_methodULong(retLong)
objOleTest.testinout_methodULong(retLong)
- outHyper = CDec("9223372036854775807") 'highest positiv value of int64
+ outHyper = CDec("9223372036854775807") 'highest positive value of int64
retHyper = outHyper
objOleTest.testinout_methodHyper(retHyper)
objOleTest.testinout_methodHyper(retHyper)
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java b/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
index 2df623330c61..edbdc1a86a22 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
@@ -123,7 +123,7 @@ public class _XDictionaryList extends MultiMethodTest {
oObj.flushEvents();
oObj.addDictionary(xDic);
- xDic.add("Positiv", false, "");
+ xDic.add("Positive", false, "");
xDic.setActive(true);
oObj.flushEvents();
oObj.removeDictionary(xDic);
@@ -151,7 +151,7 @@ public class _XDictionaryList extends MultiMethodTest {
oObj.flushEvents();
oObj.addDictionary(xDic);
- xDic.add("Positiv", false,"");
+ xDic.add("Positive", false,"");
xDic.setActive(true);
listenerCalled = false;
@@ -175,7 +175,7 @@ public class _XDictionaryList extends MultiMethodTest {
short previous = oObj.getCount();
addedDic = oObj.createDictionary("AddedDic",new Locale("en","US","WIN"),
com.sun.star.linguistic2.DictionaryType.POSITIVE,"");
- addedDic.add("Positiv",false,"");
+ addedDic.add("Positive",false,"");
oObj.addDictionary(addedDic);
@@ -235,7 +235,7 @@ public class _XDictionaryList extends MultiMethodTest {
oObj.beginCollectEvents();
oObj.addDictionary(xDic);
- xDic.add("Positiv",false,"");
+ xDic.add("Positive",false,"");
xDic.setActive(true);
oObj.removeDictionary(xDic);
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java b/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
index 5b0872263fb7..a22ecf2c8d18 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
@@ -41,14 +41,14 @@ public class _XSearchableDictionaryList extends MultiMethodTest {
* Has <b> OK </b> status if returned values are not null. <p>
*/
public void _queryDictionaryEntry() {
- XDictionaryEntry aNegativEntry = oObj.queryDictionaryEntry("Negativ",
+ XDictionaryEntry aNegativEntry = oObj.queryDictionaryEntry("Negative",
new Locale("en","US","WIN"),false,true);
if (aNegativEntry == null) {
log.println("'queryDictionary' didn't work for negative dictionaries");
} else {
log.println("'queryDictionary' works for negative dictionaries");
}
- XDictionaryEntry aPositivEntry = oObj.queryDictionaryEntry("Positiv",
+ XDictionaryEntry aPositivEntry = oObj.queryDictionaryEntry("Positive",
new Locale("en","US","WIN"),true,true);
if (aPositivEntry == null) {
log.println("'queryDictionary' didn't work for positive dictionaries");
diff --git a/qadevOOo/tests/java/mod/_lng/DicList.java b/qadevOOo/tests/java/mod/_lng/DicList.java
index d89b6482fca1..a787d79bc54d 100644
--- a/qadevOOo/tests/java/mod/_lng/DicList.java
+++ b/qadevOOo/tests/java/mod/_lng/DicList.java
@@ -83,8 +83,8 @@ public class DicList extends TestCase {
"en","US","WIN"),com.sun.star.linguistic2.DictionaryType.NEGATIVE,"");
XDictionary xDic2 = xDicList.createDictionary("PositivDic",new Locale(
"en","US","WIN"),com.sun.star.linguistic2.DictionaryType.POSITIVE,"");
- xDic2.add("Positiv",false,"");
- xDic.add("Negativ",true,"");
+ xDic2.add("Positive",false,"");
+ xDic.add("Negative",true,"");
xDicList.addDictionary(xDic);
xDicList.addDictionary(xDic2);
xDic.setActive(true);
More information about the Libreoffice-commits
mailing list