summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/basedlgs.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index 94b4225ddf7f..f09d4a26fd87 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -206,13 +206,6 @@ void SfxModalDialog::StateChanged( StateChangedType nType )
aItems.emplace_back("title", GetText().toUtf8());
SfxViewShell::Current()->notifyWindow(GetLOKWindowId(), "created", aItems);
}
- else if (nType == StateChangedType::Visible &&
- !IsVisible() &&
- GetLOKNotifier())
- {
- SfxViewShell::Current()->notifyWindow(GetLOKWindowId(), "close");
- ReleaseLOKNotifier();
- }
}
ModalDialog::StateChanged(nType);