sax/source/expatwrap/saxwriter.cxx | 14 +++++++------- sc/source/filter/inc/unitconverter.hxx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit fb79d2001aca24aacb8548c1876744b2cc3520de Author: Julien Nabet <[email protected]> Date: Sat Feb 23 14:40:45 2013 +0100 Fix typo, "charcter" -> "character" Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8 diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 1caf6cdd..cfdf619 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; } } diff --git a/sc/source/filter/inc/unitconverter.hxx b/sc/source/filter/inc/unitconverter.hxx index bac9d5b..4056430 100644 --- a/sc/source/filter/inc/unitconverter.hxx +++ b/sc/source/filter/inc/unitconverter.hxx @@ -57,7 +57,7 @@ enum Unit default font of the imported/exported document. The default font is always the first font in the styles font list, and is always referenced by the default cell style ("Normal" style in Excel) which is used by all empty - unformatted cells in the document. To be able to calculate the charcter + unformatted cells in the document. To be able to calculate the character width correctly, the default font must be known, which is the case after the finalizeImport() or finalizeExport() functions have been called. Caller must make sure to not call the character width conversion functions before. _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
