Kaydet (Commit) b794ea5b authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Complete commit 8310642c

It passed "make check"

Change-Id: If599bf7b66c972f225f88802d10c70bea4783a38
Reviewed-on: https://gerrit.libreoffice.org/48998Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 8ed1e348
......@@ -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() ) )
......
......@@ -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)
......
......@@ -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)
......
......@@ -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);
......
......@@ -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");
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment