summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-04-07 21:20:48 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-04-08 14:25:44 +0400
commiteab7e131ecebe4cdefcdcb1ad176bbdce83cb467 (patch)
tree6da64276fc3d381c149f6ea459e62e6c46cdc5f8 /starmath
parent39d8a541e623fd3ae91e28dc6dfc34411bf23b57 (diff)
starmath: fix DEBUG_ENABLE_DUMPASDOT build
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/node.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 09d2ee8cde82..e05f188792fd 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -647,8 +647,8 @@ void SmNode::DumpAsDot(std::ostream &out, String* label, int number, int& id, in
//Dump subnodes
int myid = id;
const SmNode *pNode;
- USHORT nSize = GetNumSubNodes();
- for (USHORT i = 0; i < nSize; i++)
+ sal_uInt16 nSize = GetNumSubNodes();
+ for (sal_uInt16 i = 0; i < nSize; i++)
if (NULL != (pNode = GetSubNode(i)))
pNode->DumpAsDot(out, NULL, i, ++id, myid);