summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCor Nouws <oolst@nouenoff.nl>2012-06-10 23:00:36 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-06-18 21:36:35 +0100
commit3c904d64f4e160d2feade4b05c5115d2db8f37f6 (patch)
tree99138db949537d6d6f4def8bef0d3b43b0aa3bd9 /sfx2
parent3a15168ae587cdc8f329ae049d0c1d1e9d9de21a (diff)
Give Macro recorder separate option, apart from Experimental features
Change-Id: I9dbf5d510ebaff8448a152d75a006a183303bd81 (cherry picked from commit 5ae11320a26a6356dfadeb812e0d6baf5bdc951c) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewfrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 72da247620a9..32745a891f73 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3012,7 +3012,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 );
@@ -3038,7 +3038,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 );