diff options
author | Cor Nouws <oolst@nouenoff.nl> | 2012-06-10 23:00:36 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-15 15:10:51 +0200 |
commit | 5ae11320a26a6356dfadeb812e0d6baf5bdc951c (patch) | |
tree | 47f82cf8e0bcb38770fe809b9902024ce887ca8a /sfx2 | |
parent | d7262f4472341cdcb85de414453b67ab0e853627 (diff) |
Give Macro recorder separate option, apart from Experimental features
Change-Id: I9dbf5d510ebaff8448a152d75a006a183303bd81
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 1f920bc72f13..760225405601 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -3003,7 +3003,7 @@ void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet) { SvtMiscOptions aMiscOptions; const char* pName = GetObjectShell()->GetFactory().GetShortName(); - if ( !aMiscOptions.IsExperimentalMode() || + if ( !aMiscOptions.IsMacroRecorderMode() || ( strcmp(pName,"swriter") && strcmp(pName,"scalc") ) ) { rSet.DisableItem( nWhich ); @@ -3029,7 +3029,7 @@ void SfxViewFrame::MiscState_Impl(SfxItemSet &rSet) { SvtMiscOptions aMiscOptions; const char* pName = GetObjectShell()->GetFactory().GetShortName(); - if ( !aMiscOptions.IsExperimentalMode() || + if ( !aMiscOptions.IsMacroRecorderMode() || ( strcmp(pName,"swriter") && strcmp(pName,"scalc") ) ) { rSet.DisableItem( nWhich ); |