summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 19:35:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:36:05 +0200
commit38719c3341bf4244fcaf835a3933c922e9153251 (patch)
treeefb9cffdc88dd3e87a13e6eda5df2f275de485cc /sax
parent3cbada0fb862a533eb70d714900674d16f9b4054 (diff)
Fix typos
Change-Id: Ia40e7a9031ae5a8385a84f177a9444f4d4f348b4 Reviewed-on: https://gerrit.libreoffice.org/77302 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx4
-rw-r--r--sax/source/tools/fastserializer.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 321c87b2e28b..723031804dc2 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -121,7 +121,7 @@ public:
, nCurrentPos(0)
, m_bStartElementFinished(true)
{
- OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size to small");
+ OSL_ENSURE(SEQUENCESIZE > 50, "Sequence cache size too small");
mp_Sequence = m_Sequence.getArray();
}
~SaxWriterHelper()
@@ -1154,7 +1154,7 @@ void SAXWriter::startElement(const OUString& aName, const Reference< XAttributeL
if (eRet == SAX_WARNING)
{
SAXInvalidCharacterException except;
- except.Message = "Invalid character during XML-Export in a attribute value";
+ except.Message = "Invalid character during XML-Export in an attribute value";
throw except;
}
else if (eRet == SAX_ERROR)
diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx
index e3aa17a78f91..ba956610f533 100644
--- a/sax/source/tools/fastserializer.hxx
+++ b/sax/source/tools/fastserializer.hxx
@@ -82,7 +82,7 @@ public:
*/
void startFastElement( ::sal_Int32 Element, FastAttributeList const * pAttrList = nullptr );
- /** receives notification of the end of an known element.
+ /** receives notification of the end of a known element.
@see startFastElement
*/
void endFastElement( ::sal_Int32 Element );