summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-04-10 18:30:46 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-04-10 18:30:59 +0900
commite2ce9f216571729e1e3010ee75d616f4864d4acd (patch)
tree43838350fe193adec96ec563d2d9e381f2477a7d /starmath
parentResolves: #i117749# bVert unused (diff)
downloadcore-e2ce9f216571729e1e3010ee75d616f4864d4acd.tar.gz
core-e2ce9f216571729e1e3010ee75d616f4864d4acd.zip
fixed typos
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/eqnolefilehdr.cxx2
-rw-r--r--starmath/source/mathmlexport.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx
index 2a553fb862e4..4da274fb2673 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 e20580be3f06..fe8f77f93918 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);