summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /sax
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
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 b4eb276813ee..744415ef4bc1 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)