Kaydet (Commit) fb79d200 authored tarafından Julien Nabet's avatar Julien Nabet

Fix typo, "charcter" -> "character"

Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8
üst c4cc63ba
......@@ -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;
}
}
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment