summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-12 11:41:11 +0200
committerAndras Timar <andras.timar@collabora.com>2018-03-06 15:03:17 +0100
commit8e4d18d61dc32ee82dc65d421bba14597295bf08 (patch)
tree8439cdb1262cb78c21df56534b9ba5bca59aed13 /sc
parentd4c4813ab19002e5f8bf8b3c49e8edb30663d701 (diff)
tdf#112033: enable the xml source feature when the experimental features are enabled
Change-Id: I066b2927c5e22664b7a4e96549da3a02ec4c99d3 Reviewed-on: https://gerrit.libreoffice.org/41085 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 65722772f00a40b8ca8adf21e31c22295ef7d215) Reviewed-on: https://gerrit.libreoffice.org/47696 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit 4ac1a46f712f38fee3323e7c4ed121880469a9d3)
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/cellsh2.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index b492633ed875..8f4d031e6564 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -1210,7 +1210,11 @@ void ScCellShell::GetDBState( SfxItemSet& rSet )
break;
#if !ENABLE_ORCUS
case SID_MANAGE_XML_SOURCE:
- rSet.DisableItem(nWhich);
+ {
+ SvtMiscOptions aMiscOptions;
+ if ( !aMiscOptions.IsExperimentalMode() )
+ rSet.DisableItem( nWhich );
+ }
break;
#endif
}