summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r--sfx2/source/view/viewfrm.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 19c3d25721..08f9e0cd71 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3110,8 +3110,9 @@ void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet)
if ( !aMiscOptions.IsExperimentalMode() ||
( strcmp(pName,"swriter") && strcmp(pName,"scalc") ) )
{
- rSet.DisableItem( nWhich );
- break;
+ rSet.DisableItem( nWhich );
+ rSet.Put(SfxVisibilityItem(nWhich, sal_False));
+ break;
}
::rtl::OUString sProperty(RTL_CONSTASCII_USTRINGPARAM("DispatchRecorderSupplier"));