[Libreoffice-commits] .: starmath/source
Takeshi Abe
tabe at kemper.freedesktop.org
Sun Apr 10 02:31:22 PDT 2011
starmath/source/eqnolefilehdr.cxx | 2 +-
starmath/source/mathmlexport.cxx | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 86375e82660288f40d2299b1a0ab52a91c4e378a
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Sun Apr 10 18:30:46 2011 +0900
fixed typos
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx
index a1086e1..04c2e17 100644
--- a/starmath/source/eqnolefilehdr.cxx
+++ b/starmath/source/eqnolefilehdr.cxx
@@ -65,7 +65,7 @@ sal_Bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion )
sal_Bool bSuccess = sal_False;
//
- // code sniplet copied from MathType::Parse
+ // code snippet copied from MathType::Parse
//
SvStorageStreamRef xSrc = pStor->OpenSotStream(
String::CreateFromAscii("Equation Native"),
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 80b1832..52258cf 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -838,7 +838,7 @@ void SmXMLExport::ExportMath(const SmNode *pNode, int /*nLevel*/)
sal_Unicode cTmp = ConvertMathToMathML( nArse[0] );
if (cTmp != 0)
nArse[0] = cTmp;
- OSL_ENSURE(nArse[0] != 0xffff,"Non existant symbol");
+ OSL_ENSURE(nArse[0] != 0xffff,"Non existent symbol");
nArse[1] = 0;
GetDocHandler()->characters(nArse);
}
@@ -1041,11 +1041,11 @@ void SmXMLExport::ExportBrace(const SmNode *pNode, int nLevel)
nArse[1] = 0;
nArse[0] = static_cast<
const SmMathSymbolNode* >(pLeft)->GetText().GetChar(0);
- OSL_ENSURE(nArse[0] != 0xffff,"Non existant symbol");
+ OSL_ENSURE(nArse[0] != 0xffff,"Non existent symbol");
AddAttribute(XML_NAMESPACE_MATH, XML_OPEN,nArse);
nArse[0] = static_cast<
const SmMathSymbolNode* >(pRight)->GetText().GetChar(0);
- OSL_ENSURE(nArse[0] != 0xffff,"Non existant symbol");
+ OSL_ENSURE(nArse[0] != 0xffff,"Non existent symbol");
AddAttribute(XML_NAMESPACE_MATH, XML_CLOSE,nArse);
pFences = new SvXMLElementExport(*this, XML_NAMESPACE_MATH, XML_MFENCED,
sal_True,sal_True);
More information about the Libreoffice-commits
mailing list