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

SfxLokHelper::setView: check if view is already current

Change-Id: I9cf3a4887774657e0e205114688b088fc11c6822
(cherry picked from commit 714257af)
üst e0e0c179
......@@ -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