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

Revert "fdo#83302 don't display read-only infobar for Base form in normal mode"

This reverts commit 542ae4e0, which
breaks the build without 15cea073, which
had to reverted.
üst 024f334c
......@@ -1346,13 +1346,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
SfxBindings& rBind = GetBindings();
rBind.Invalidate( SID_RELOAD );
rBind.Invalidate( SID_EDITDOC );
SfxViewShell *pVSh;
FmFormShell *pFSh;
if ( !xObjSh->IsReadOnly() ||
( xObjSh->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED &&
(pVSh = xObjSh->GetViewShell()) &&
(pFSh = pVSh->GetFormShell()) &&
!pFSh->IsDesignMode()))
if ( !xObjSh->IsReadOnly() )
{
// In contrast to above (TITLE_CHANGED) does the UI not
// have to be updated because it was not obstructed
......
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