diff options
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 14 | ||||
-rw-r--r-- | sc/source/filter/inc/unitconverter.hxx | 2 |
2 files changed, 8 insertions, 8 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; } } diff --git a/sc/source/filter/inc/unitconverter.hxx b/sc/source/filter/inc/unitconverter.hxx index bac9d5b8cdab..4056430b8e72 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. |