diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/node.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 8b1559dafca2..7767b7022e2b 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -1252,7 +1252,8 @@ void SmSubSupNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) // iterate over all possible sub-/supscripts SmRect aTmpRect (rBodyRect); for (int i = 0; i < SUBSUP_NUM_ENTRIES; i++) - { SmSubSup eSubSup = (SmSubSup) i; // cast + { + SmSubSup eSubSup = static_cast<SmSubSup>(i); SmNode *pSubSup = GetSubSup(eSubSup); if (!pSubSup) |