summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-11-12 11:43:28 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-11-12 12:34:25 +0900
commit18629fbb919608b4c1085e99631d5be83cf23e57 (patch)
treef670fe1ded837c30aac1249a909113e1ef257250 /starmath/source
parent4ffb2ae4bb89346bf62c187693f6044846870c63 (diff)
starmath: Prefix member of SmBlankNode
Change-Id: I20b9fa14d42549a3c5be8a7d4f52c85fcef52cf5
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/mathmlexport.cxx2
-rw-r--r--starmath/source/node.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 8a12511a1971..c9a6ca8637da 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -877,7 +877,7 @@ void SmXMLExport::ExportBlank(const SmNode *pNode, int /*nLevel*/)
{
// Attach a width attribute. We choose the (somewhat arbitrary) values
// ".5em" for a small gap '`' and "2em" for a large gap '~'.
- // (see SmBlankNode::IncreaseBy for how pTemp->nNum is set).
+ // (see SmBlankNode::IncreaseBy for how pTemp->mnNum is set).
OUStringBuffer sStrBuf;
::sax::Converter::convertDouble(sStrBuf, pTemp->GetBlankNum() * .5);
sStrBuf.append("em");
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index e6ee8834d5c9..febddc2f4785 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2735,8 +2735,8 @@ void SmBlankNode::IncreaseBy(const SmToken &rToken)
{
switch(rToken.eType)
{
- case TBLANK: nNum += 4; break;
- case TSBLANK: nNum += 1; break;
+ case TBLANK: mnNum += 4; break;
+ case TSBLANK: mnNum += 1; break;
default:
break;
}
@@ -2763,7 +2763,7 @@ void SmBlankNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat)
// make distance depend on the font height
// (so that it increases when scaling (e.g. size *2 {a ~ b})
long nDist = GetFont().GetFontSize().Height() / 10L,
- nSpace = nNum * nDist;
+ nSpace = mnNum * nDist;
// get a SmRect with Baseline and all the bells and whistles
SmRect::operator = (SmRect(aTmpDev, &rFormat, OUString(' '),