summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/drawdlg.cxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-12-10 15:16:32 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2019-12-11 22:51:03 +0100
commitdd27fedb88cc18bbfc669503cfe510d99f40f05d (patch)
tree460ef56c194da26cc3a095648bbcd13cac40c445 /sw/source/uibase/shells/drawdlg.cxx
parentef8674a48888e2601653fd6481b6542914ffd97c (diff)
jsdialog: send items on status change
Use existing mechanism, delete sending in getter code which caused unnecessary work. Change-Id: Ibc191c16b95fd58e7065e019f48f3837cfed5bbd Reviewed-on: https://gerrit.libreoffice.org/84914 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sw/source/uibase/shells/drawdlg.cxx')
-rw-r--r--sw/source/uibase/shells/drawdlg.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/drawdlg.cxx b/sw/source/uibase/shells/drawdlg.cxx
index 457e0e341cd7..0437340ebf98 100644
--- a/sw/source/uibase/shells/drawdlg.cxx
+++ b/sw/source/uibase/shells/drawdlg.cxx
@@ -336,10 +336,6 @@ void SwDrawShell::GetDrawAttrState(SfxItemSet& rSet)
}
else
rSet.Put(pSdrView->GetDefaultAttr());
-
- SfxViewShell* pViewShell = GetShell().GetSfxViewShell();
- if (pViewShell && comphelper::LibreOfficeKit::isActive())
- pViewShell->sendUnoStatus( &rSet );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */