summaryrefslogtreecommitdiff
path: root/starmath/inc
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/inc
parent4ffb2ae4bb89346bf62c187693f6044846870c63 (diff)
starmath: Prefix member of SmBlankNode
Change-Id: I20b9fa14d42549a3c5be8a7d4f52c85fcef52cf5
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/node.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 61a8c4225850..68f3704883d8 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -1115,23 +1115,23 @@ public:
/** Node for whitespace
*
- * Used to implement the "~" command. This node is just a blank space.
+ * Used to implement the commands "~" and "`". This node is just a blank space.
*/
class SmBlankNode : public SmGraphicNode
{
- sal_uInt16 nNum;
+ sal_uInt16 mnNum;
public:
explicit SmBlankNode(const SmToken &rNodeToken)
- : SmGraphicNode(NBLANK, rNodeToken)
+ : SmGraphicNode(NBLANK, rNodeToken)
+ , mnNum(0)
{
- nNum = 0;
}
void IncreaseBy(const SmToken &rToken);
- void Clear() { nNum = 0; }
- sal_uInt16 GetBlankNum() const { return nNum; }
- void SetBlankNum(sal_uInt16 nNumber) { nNum = nNumber; }
+ void Clear() { mnNum = 0; }
+ sal_uInt16 GetBlankNum() const { return mnNum; }
+ void SetBlankNum(sal_uInt16 nNumber) { mnNum = nNumber; }
virtual void Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) override;
virtual void Arrange(OutputDevice &rDev, const SmFormat &rFormat) override;