Kaydet (Commit) 7c78bcc6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1298897 deadcode

Change-Id: I61892eeeb3d90e50f23cb1dbaf303aabaa1225fa
üst 4b4c23ac
......@@ -122,12 +122,8 @@ namespace {
sal_Int32 translateFromChart2AxisIndexToOox(sal_Int32 nIndex)
{
assert(nIndex == 0 || nIndex == 1);
if (nIndex == 0)
return AXIS_PRIMARY_Y;
else if (nIndex == 1)
if (nIndex == 1)
return AXIS_SECONDARY_Y;
// good default value for release builds
return AXIS_PRIMARY_Y;
}
......
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