Kaydet (Commit) 29bb9775 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1415620 Unchecked return value (golden)

Change-Id: I5229a29d6f2017abe32121cbdedbba1017cc4a46
üst d3cc241f
...@@ -871,7 +871,10 @@ bool ScViewObjectModeItem::GetPresentation ...@@ -871,7 +871,10 @@ bool ScViewObjectModeItem::GetPresentation
} }
SAL_FALLTHROUGH; SAL_FALLTHROUGH;
case SfxItemPresentation::Nameless: case SfxItemPresentation::Nameless:
rText += ScGlobal::GetRscString(STR_VOBJ_MODE_SHOW+GetValue()); if (GetValue() == VOBJ_MODE_SHOW)
rText += ScGlobal::GetRscString(STR_VOBJ_MODE_SHOW);
else
rText += ScGlobal::GetRscString(STR_VOBJ_MODE_HIDE);
return true; return true;
break; break;
......
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