Fix typos

Change-Id: Ia40e7a9031ae5a8385a84f177a9444f4d4f348b4
Reviewed-on: https://gerrit.libreoffice.org/77302
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2019-08-11 19:35:07 +02:00
committed by Julien Nabet
parent 3cbada0fb8
commit 38719c3341
10 changed files with 14 additions and 14 deletions

View File

@@ -93,7 +93,7 @@ public class SwAccessibleFooterView extends TestCase {
PropSet.setPropertyValue("FooterIsOn", Boolean.TRUE);
//change zoom value to 10%
//footer should be in the vissible area of the document
//footer should be in the visible area of the document
XController xController = xTextDoc.getCurrentController();
XViewSettingsSupplier xViewSetSup = UnoRuntime.queryInterface(XViewSettingsSupplier.class,
xController);

View File

@@ -85,7 +85,7 @@ public class SwAccessibleFootnoteView extends TestCase {
XPropertySet xPropSet = xViewSetSup.getViewSettings();
//change zoom value to 10%
//footer should be in the vissible area of the document
//footer should be in the visible area of the document
xPropSet.setPropertyValue("ZoomValue", Short.valueOf("10"));
XModel aModel = UnoRuntime.queryInterface(XModel.class, xTextDoc);

View File

@@ -59,7 +59,7 @@ public class SwXAutoTextContainer extends TestCase {
// creation of testobject here
// first we write what we are intend to do to log file
log.println("creating a AutoTextContainer");
log.println("creating an AutoTextContainer");
XMultiServiceFactory myMSF = Param.getMSF();
Object oInst = myMSF.createInstance
("com.sun.star.text.AutoTextContainer");

View File

@@ -86,7 +86,7 @@ public class SwXEndnoteProperties extends TestCase {
log.println( "Creating a test environment" );
XMultiServiceFactory msf = UnoRuntime.queryInterface(XMultiServiceFactory.class, xTextDoc);
log.println("creating a endnote");
log.println("creating an endnote");
oEndnote = UnoRuntime.queryInterface(XInterface.class,
msf.createInstance("com.sun.star.text.Endnote"));

View File

@@ -152,7 +152,7 @@ void test_coreReflection()
aReadConst = reader.getFieldConstValue(10);
OString aConstStr = OUStringToOString(aConst.m_value.aString, RTL_TEXTENCODING_ASCII_US);
REG_ENSURE(aConstStr.equals("this is an unicode string"), "testCoreReflection error 9b");
REG_ENSURE(aConstStr.equals("this is a unicode string"), "testCoreReflection error 9b");
}
}

View File

@@ -24,7 +24,7 @@ package com.sun.star.uno;
* <p>
* Each java mapped enum class provides static member of this class
* which represents the enum values.
* You cannot create a object of this class or subclass direct, to
* You cannot create an object of this class or subclass direct, to
* avoid enum values with integer values outside the defined range.
* </p>
*/

View File

@@ -99,7 +99,7 @@ public class UnoRuntime {
* <p>This method is generally of little use for client code. It should be
* considered a mistake that this method is published at all.</p>
*
* @param object any object for which a OID shall be generated; must not be
* @param object any object for which an OID shall be generated; must not be
* <code>null</code>
* @return the generated OID
* @see com.sun.star.uno.IQueryInterface#getOid

View File

@@ -121,7 +121,7 @@ public:
, nCurrentPos(0)
, m_bStartElementFinished(true)
{
OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small");
OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size too small");
mp_Sequence = m_Sequence.getArray();
}
~SaxWriterHelper()
@@ -1154,7 +1154,7 @@ void SAXWriter::startElement(const OUString& aName, const Reference< XAttributeL
if (eRet == SAX_WARNING)
{
SAXInvalidCharacterException except;
except.Message = "Invalid character during XML-Export in a attribute value";
except.Message = "Invalid character during XML-Export in an attribute value";
throw except;
}
else if (eRet == SAX_ERROR)

View File

@@ -82,7 +82,7 @@ public:
*/
void startFastElement( ::sal_Int32 Element, FastAttributeList const * pAttrList = nullptr );
/** receives notification of the end of an known element.
/** receives notification of the end of a known element.
@see startFastElement
*/
void endFastElement( ::sal_Int32 Element );

View File

@@ -106,9 +106,9 @@ void CheckXCellRangesQuery::checkEmptyCell()
/**
* Perform some tests on a filled cell:
* <ol>
* <li>compare an cell with value 5 with a cell with value 15 in the same
* <li>compare a cell with value 5 with a cell with value 15 in the same
* column</li>
* <li>compare an cell with value 5 with a cell with value 15 in the same
* <li>compare a cell with value 5 with a cell with value 15 in the same
* row</li>
* <li>query for an empty cell.</li>
* <ol>
@@ -120,9 +120,9 @@ void CheckXCellRangesQuery::checkFilledCell()
// fill the cell with a value
xSpreadSheet->getCellByPosition(2, 3)->setValue(15);
// compare an cell with value 5 with a cell with value 15
// compare a cell with value 5 with a cell with value 15
_queryColumnDifferences(sSheetName + ".C4");
// compare an cell with value 5 with a cell with value 15
// compare a cell with value 5 with a cell with value 15
_queryRowDifferences(sSheetName + ".C4");
// try to get nothing
_queryEmptyCells("");