Kaydet (Commit) 429290b8 authored tarafından Caolán McNamara's avatar Caolán McNamara

-Werror=maybe-unintialized

Change-Id: I73eb58e44c00d5e1cfcabe71f2ba946a81a62fa7
üst c5ceb013
...@@ -1107,10 +1107,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c ...@@ -1107,10 +1107,10 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
} }
else if (aEvent.FeatureURL.Path == "ToggleMergeCells") else if (aEvent.FeatureURL.Path == "ToggleMergeCells")
{ {
if (aEvent.IsEnabled) sal_Bool aBool;
if (aEvent.IsEnabled && (aEvent.State >>= aBool))
{ {
sal_Bool aBool;
aEvent.State >>= aBool;
aBuffer.append(OUString::boolean(aBool)); aBuffer.append(OUString::boolean(aBool));
} }
else else
......
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