summaryrefslogtreecommitdiff
path: root/sax/source
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/source
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/source')
-rw-r--r--sax/source/fastparser/fastparser.cxx4
-rw-r--r--sax/source/tools/fastattribs.cxx2
2 files changed, 3 insertions, 3 deletions
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()
{
}