summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:25:53 -0400
commitd955148381be3496b091fab7c2335d080634d376 (patch)
treefed9feebbc3cf62cc75b7a5d7d11d4391ac66521 /sax
parent1ca1ab42e7a7e7132375cb07745b33f635dd62e8 (diff)
Fix typos
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx2
-rw-r--r--sax/source/tools/converter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index c9ad1222e090..09a78557c8cb 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -120,7 +120,7 @@ public:
~SaxWriterHelper()
{
OSL_ENSURE(!nCurrentPos, "cached Sequence not written");
- OSL_ENSURE(m_bStartElementFinished, "StartElement not complettly written");
+ OSL_ENSURE(m_bStartElementFinished, "StartElement not completely written");
}
inline void insertIndentation(sal_uInt32 m_nLevel) throw( SAXException );
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index f0bf021e4157..0570024cfd45 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1559,7 +1559,7 @@ static bool lcl_parseDate(
{
// While W3C XMLSchema specifies years with a minimum of 4 digits, be
- // leninent in what we accept for years < 1000. One digit is acceptable
+ // lenient in what we accept for years < 1000. One digit is acceptable
// if the remainders match.
bSuccess = readDateTimeComponent(string, nPos, nYear, 1, false);
if (!bIgnoreInvalidOrMissingDate)