From fb79d2001aca24aacb8548c1876744b2cc3520de Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 23 Feb 2013 14:40:45 +0100 Subject: Fix typo, "charcter" -> "character" Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8 --- sax/source/expatwrap/saxwriter.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sax') 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; } } -- cgit v1.2.3