summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-23 14:40:45 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-23 14:40:45 +0100
commitfb79d2001aca24aacb8548c1876744b2cc3520de (patch)
treee6278763632694686ffec951aff5974f2dc17baf /sax
parentc4cc63badc506a00ee92e588d47e4f93e22fe1b5 (diff)
Fix typo, "charcter" -> "character"
Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 1caf6cddbc3b..cfdf61982adb 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -1137,13 +1137,13 @@ void SAXWriter::startElement(const OUString& aName, const Reference< XAttributeL
if (eRet == SAX_WARNING)
{
SAXInvalidCharacterException except;
- except.Message = OUString( "Invalid charcter during XML-Export in a attribute value" );
+ except.Message = OUString( "Invalid character during XML-Export in a attribute value" );
throw except;
}
else if (eRet == SAX_ERROR)
{
SAXException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}
@@ -1179,7 +1179,7 @@ void SAXWriter::endElement(const OUString& aName) throw (SAXException, Runtime
if (!bRet)
{
SAXException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}
@@ -1231,7 +1231,7 @@ void SAXWriter::characters(const OUString& aChars) throw(SAXException, RuntimeE
if (bThrowException)
{
SAXInvalidCharacterException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}
@@ -1276,7 +1276,7 @@ void SAXWriter::processingInstruction(const OUString& aTarget, const OUString& a
if (!mp_SaxWriterHelper->processingInstruction(aTarget, aData))
{
SAXException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}
@@ -1348,7 +1348,7 @@ void SAXWriter::comment(const OUString& sComment) throw(SAXException, RuntimeExc
if (!mp_SaxWriterHelper->comment(sComment))
{
SAXException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}
@@ -1389,7 +1389,7 @@ void SAXWriter::unknown(const OUString& sString) throw (SAXException, RuntimeExc
if (!mp_SaxWriterHelper->writeString( sString, sal_False, sal_False))
{
SAXException except;
- except.Message = OUString( "Invalid charcter during XML-Export" );
+ except.Message = OUString( "Invalid character during XML-Export" );
throw except;
}
}