From 43459bac67363f49aadd851e686d4a74b8ddc256 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Thu, 26 Apr 2018 16:30:48 +0200 Subject: tdf#117039: update infobar instead of removing and re-adding it Apparently AppendInfoBar ends up calling back into SID_SIGNATURE status function at some point, creating an endless recursion. I'm too lazy to debug why so I'm cowardly avoiding it Change-Id: Ib1e4b7f12fea197887b099e9a9f03b4e58884ec1 Reviewed-on: https://gerrit.libreoffice.org/53519 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- include/sfx2/infobar.hxx | 4 ++++ include/sfx2/viewfrm.hxx | 2 ++ sfx2/source/dialog/infobar.cxx | 34 ++++++++++++++++++++++++++-------- sfx2/source/doc/objserv.cxx | 33 ++++++++++++++++++++------------- sfx2/source/view/viewfrm.cxx | 21 +++++++++++++++++++++ 5 files changed, 73 insertions(+), 21 deletions(-) diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx index ac8c43e75b4b..4a9c39578b82 100644 --- a/include/sfx2/infobar.hxx +++ b/include/sfx2/infobar.hxx @@ -50,11 +50,14 @@ class SFX2_DLLPUBLIC SfxInfoBarWindow : public vcl::Window { private: OUString m_sId; + InfoBarType m_eType; VclPtr m_pImage; VclPtr m_pMessage; VclPtr