summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:48:58 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 11:11:09 +0000
commit2e9fe260149911a8a906e059a6025892af8e9a64 (patch)
treec647b11c29be0de80eaa257e3f48bcc34c42887e
parent98ef3edb8a5d1a13963101d41abb2a8dd8a806dd (diff)
Fix typos
Change-Id: I5fc62060e7d01c6b492a0e91323f753cc676bf71 Reviewed-on: https://gerrit.libreoffice.org/35639 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java2
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx2
-rw-r--r--reportdesign/source/ui/inc/GeometryHandler.hxx2
-rw-r--r--rsc/source/rscpp/cpp3.c2
-rw-r--r--sal/osl/unx/security.cxx2
-rw-r--r--sal/osl/w32/profile.cxx2
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx6
-rw-r--r--sal/qa/rtl/ostring/rtl_OString2.cxx2
-rw-r--r--sal/textenc/convertsimple.cxx2
-rw-r--r--sal/textenc/tcvtutf7.cxx2
-rw-r--r--sax/qa/cppunit/attributes.cxx2
-rw-r--r--sax/qa/data/defaultns.xml4
-rw-r--r--sax/source/fastparser/fastparser.cxx4
-rw-r--r--sax/source/tools/fastattribs.cxx2
-rw-r--r--sax/test/sax/testwriter.cxx2
15 files changed, 19 insertions, 19 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java
index bcc725783ba7..3f9631792c05 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FixedTextLayoutController.java
@@ -33,7 +33,7 @@ import org.jfree.report.flow.layoutprocessor.LayoutControllerFactory;
import org.jfree.report.structure.Section;
/**
- * Processes a fixed-text element of the OpenOffice reporting specificiation.
+ * Processes a fixed-text element of the OpenOffice reporting specification.
* The element itself contains a single paragraph which contains the content.
* After checking, whether this element should be printed, this layout
* controller simply delegates the dirty work to a suitable handler.
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 95b6ad2dde64..f536a1268a40 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -1497,7 +1497,7 @@ bool OReportDefinition::WriteThroughComponent(
return false;
uno::Reference<beans::XPropertySet> xStreamProp(xOutputStream,uno::UNO_QUERY);
- OSL_ENSURE(xStreamProp.is(),"No valid preoperty set for the output stream!");
+ OSL_ENSURE(xStreamProp.is(),"No valid property set for the output stream!");
uno::Reference<io::XSeekable> xSeek(xStreamProp,uno::UNO_QUERY);
if ( xSeek.is() )
diff --git a/reportdesign/source/ui/inc/GeometryHandler.hxx b/reportdesign/source/ui/inc/GeometryHandler.hxx
index d277cc402c24..3bf7d026f2e9 100644
--- a/reportdesign/source/ui/inc/GeometryHandler.hxx
+++ b/reportdesign/source/ui/inc/GeometryHandler.hxx
@@ -210,7 +210,7 @@ namespace rptui
*/
void loadDefaultFunctions();
- /** creates a default functionof the _sFunction for the data field _sDataField
+ /** creates a default function of the _sFunction for the data field _sDataField
* The new function will only be created if it didn't exist.
*
* \param _aGuard Will be cleared, when a new function was created.
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index 078be477d815..6e6f87aa59a8 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -209,7 +209,7 @@ int dooptions(int argc, char** argv)
AddInclude( ap ); /* BP, 11.09.91 */
break;
- case 'N': /* No predefineds */
+ case 'N': /* No predefined */
nflag++; /* Repeat to undefine */
break; /* __LINE__, etc. */
diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index 55bb6410bd5c..701f6e775499 100644
--- a/sal/osl/unx/security.cxx
+++ b/sal/osl/unx/security.cxx
@@ -480,7 +480,7 @@ static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDir
/*
* FIXME: rewrite to use more flexible
* NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES)
- * as soon as we can bumb the baseline to Tiger (for NSApplicationSupportDirectory) and have
+ * as soon as we can bump the baseline to Tiger (for NSApplicationSupportDirectory) and have
* support for Objective-C in the build environment
*/
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index 26999f8c9855..66db4be6386b 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -1942,7 +1942,7 @@ static bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *strFile
else
{
- /* if we have not product identfication, do a special handling for soffice.ini */
+ /* if we have not product identification, do a special handling for soffice.ini */
if (rtl_ustr_ascii_compare(strFile, SVERSION_PROFILE) == 0)
{
rtl_uString * strSVProfile = nullptr;
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index 31e369cf0a28..ecb669c7b796 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -769,10 +769,10 @@ namespace osl_Thread
public:
/** Check after call terminate if the thread running function will not go on executing
- the next statement after join will not exec before the thread terminate
+ the next statement after join will not exec before the thread terminates
ALGORITHM:
recode system time at the beginning of the thread run, call join, then record system time again,
- the difference of the two time should be equal or more than 20 seconds, the CountThead normally terminate
+ the difference of the two times should be equal or more than 20 seconds, the CountThread normally terminates
*/
void join_001()
{
@@ -1541,7 +1541,7 @@ namespace osl_Thread
// but should be differ from nValue
delete aThread;
- //check if thread really terminate after call terminate, if join immediatlly return
+ //check if thread really terminate after call terminate, if join immediately return
CPPUNIT_ASSERT_MESSAGE(
"Schedule: Returns False if the thread should terminate.",
nValue_join - nValue_term <= 1 && nValue_join - nValue_term >= 0
diff --git a/sal/qa/rtl/ostring/rtl_OString2.cxx b/sal/qa/rtl/ostring/rtl_OString2.cxx
index e42ac2b04dff..63efbf1c9839 100644
--- a/sal/qa/rtl/ostring/rtl_OString2.cxx
+++ b/sal/qa/rtl/ostring/rtl_OString2.cxx
@@ -431,7 +431,7 @@ public:
// const OString& newStr )
// Developer note: Mindy Liu, 2004-04-23
-// stollen from sal/qa/rtl_strings/rtl_OString.cxx
+// stolen from sal/qa/rtl_strings/rtl_OString.cxx
class replaceAt : public CppUnit::TestFixture
{
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx
index 476e8819bbd0..6e08b5fe5505 100644
--- a/sal/textenc/convertsimple.cxx
+++ b/sal/textenc/convertsimple.cxx
@@ -42,7 +42,7 @@ static ImplReplaceCharData const aImplRepCharTab[] =
{ 0x2005, 0x0020 }, /* FOUR-PER-EM SPACE */
{ 0x2006, 0x0020 }, /* SIX-PER-EM SPACE */
{ 0x2007, 0x0020 }, /* FIGURE SPACE */
- { 0x2008, 0x0020 }, /* PUNCTATION SPACE */
+ { 0x2008, 0x0020 }, /* PUNCTUATION SPACE */
{ 0x2009, 0x0020 }, /* THIN SPACE */
{ 0x200A, 0x0020 }, /* HAIR SPACE */
{ 0x2010, 0x002D }, /* HYPHEN */
diff --git a/sal/textenc/tcvtutf7.cxx b/sal/textenc/tcvtutf7.cxx
index ea6a6d92b6f4..367007417968 100644
--- a/sal/textenc/tcvtutf7.cxx
+++ b/sal/textenc/tcvtutf7.cxx
@@ -337,7 +337,7 @@ sal_Size ImplUTF7ToUnicode( SAL_UNUSED_PARAMETER const void*, void* pContext,
}
else
{
- /* No direct encoded charcater, then the buffer is */
+ /* No direct encoded character, then the buffer is */
/* corrupt */
if ( c > 0x7F )
{
diff --git a/sax/qa/cppunit/attributes.cxx b/sax/qa/cppunit/attributes.cxx
index ff83d5b85a43..15fdb31293b3 100644
--- a/sax/qa/cppunit/attributes.cxx
+++ b/sax/qa/cppunit/attributes.cxx
@@ -39,7 +39,7 @@ void AttributesTest::test()
// We can't test getValueToken() and getOptionalValueToken()
// without XFastTokenHandler :-(
- // Uncomment to get segmantation fault:
+ // Uncomment to get segmentation fault:
// xAttributeList->getOptionalValueToken(1, 0);
// xAttributeList->getValueToken(2);
diff --git a/sax/qa/data/defaultns.xml b/sax/qa/data/defaultns.xml
index 554f4b48f7ea..2e7819b164bf 100644
--- a/sax/qa/data/defaultns.xml
+++ b/sax/qa/data/defaultns.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" ?>
<Books xmlns="http://xyzbooks.com/books/">
<Book>
- <Title>War and Peacd</Title>
+ <Title>War and Peace</Title>
<Author>Leo Tolstoy</Author>
</Book>
<Book>
<Title>To Kill a Mockingbird</Title>
<Author>Harper Lee</Author>
</Book>
-</Books> \ No newline at end of file
+</Books>
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 78378dcfd14d..d160b97c7e50 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -981,7 +981,7 @@ bool FastSaxParserImpl::consume(EventList *pEventList)
return false;
case EXCEPTION:
rEntity.throwException( mxDocumentLocator, false );
- SAL_FALLTHROUGH; // avoid unreachable code warning with some comilers
+ SAL_FALLTHROUGH; // avoid unreachable code warning with some compilers
default:
assert(false);
return false;
@@ -1376,7 +1376,7 @@ FastSaxParser::initialize(css::uno::Sequence< css::uno::Any > const& rArguments)
mpImpl->m_bIgnoreMissingNSDecl = true;
else if ( str == "DoSmeplease" )
{
- //just ignore as this is already immune to billon laughs
+ //just ignore as this is already immune to billion laughs
}
else
throw IllegalArgumentException();
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx
index acf9dcb787e4..985293ff0caf 100644
--- a/sax/source/tools/fastattribs.cxx
+++ b/sax/source/tools/fastattribs.cxx
@@ -28,7 +28,7 @@ using namespace ::com::sun::star::xml::sax;
namespace sax_fastparser
{
-// wasteage to keep MSVC happy vs. an in-line {}
+// wastage to keep MSVC happy vs. an in-line {}
FastTokenHandlerBase::~FastTokenHandlerBase()
{
}
diff --git a/sax/test/sax/testwriter.cxx b/sax/test/sax/testwriter.cxx
index c031db370fe0..1bc53ae18495 100644
--- a/sax/test/sax/testwriter.cxx
+++ b/sax/test/sax/testwriter.cxx
@@ -138,7 +138,7 @@ private:
/*----------------------------------------
*
-* Attributlist implementation
+* Attributelist implementation
*
*----------------------------------------*/
struct AttributeListImpl_impl;