summaryrefslogtreecommitdiff
path: root/sax
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 /sax
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>
Diffstat (limited to 'sax')
-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
5 files changed, 7 insertions, 7 deletions
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;