diff options
author | August Sodora <augsod@gmail.com> | 2011-12-03 18:24:06 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-03 18:25:24 -0500 |
commit | f4b3bd91ca177101d90f522e81163dc6421e14c9 (patch) | |
tree | 4a0c23e75e31b223f6a8cfe8caee3c272a4e4e7f /sfx2/source | |
parent | e0ad98aed91062281bfe96a1c579560e72f3bbe8 (diff) |
fdo#41865: Make macro recording work without experimental features
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 36b1e3e02f47..a158f534d0ba 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -3037,14 +3037,6 @@ void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet) case SID_RECORDMACRO : { SvtMiscOptions aMiscOptions; - const char* pName = GetObjectShell()->GetFactory().GetShortName(); - if ( !aMiscOptions.IsExperimentalMode() || - ( strcmp(pName,"swriter") && strcmp(pName,"scalc") ) ) - { - rSet.DisableItem( nWhich ); - rSet.Put(SfxVisibilityItem(nWhich, sal_False)); - break; - } ::rtl::OUString sProperty(RTL_CONSTASCII_USTRINGPARAM("DispatchRecorderSupplier")); com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xSet( @@ -3063,13 +3055,6 @@ void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet) case SID_STOP_RECORDING : { SvtMiscOptions aMiscOptions; - const char* pName = GetObjectShell()->GetFactory().GetShortName(); - if ( !aMiscOptions.IsExperimentalMode() || - ( strcmp(pName,"swriter") && strcmp(pName,"scalc") ) ) - { - rSet.DisableItem( nWhich ); - break; - } ::rtl::OUString sProperty(RTL_CONSTASCII_USTRINGPARAM("DispatchRecorderSupplier")); com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xSet( |