Kaydet (Commit) 75c10400 authored tarafından Takeshi Abe's avatar Takeshi Abe

Avoid C-style cast

Change-Id: I777920cb2e9dcc3f2b20f5a96c88bf48fcb94895
Reviewed-on: https://gerrit.libreoffice.org/25024Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst e8c1727b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment