Kaydet (Commit) 714257af authored tarafından Miklos Vajna's avatar Miklos Vajna

SfxLokHelper::setView: check if view is already current

Change-Id: I9cf3a4887774657e0e205114688b088fc11c6822
üst d3446bc8
......@@ -45,6 +45,9 @@ void SfxLokHelper::setView(size_t nId)
return;
SfxViewShell* pViewShell = rViewArr[nId];
if (pViewShell->GetViewFrame() == SfxViewFrame::Current())
return;
if (SfxViewFrame* pViewFrame = pViewShell->GetViewFrame())
pViewFrame->MakeActive_Impl(false);
}
......
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