summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-12 11:41:11 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2018-01-30 18:10:12 +0100
commit4ac1a46f712f38fee3323e7c4ed121880469a9d3 (patch)
tree0f572c424a5c5e2c8bd3f7739faef82db4f5fe18
parentUpdated core (diff)
downloadcore-4ac1a46f712f38fee3323e7c4ed121880469a9d3.tar.gz
core-4ac1a46f712f38fee3323e7c4ed121880469a9d3.zip
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>
-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 91b5c5effe12..9b9910ffd776 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -1207,7 +1207,11 @@ void ScCellShell::GetDBState( SfxItemSet& rSet )
}
break;
case SID_MANAGE_XML_SOURCE:
- rSet.DisableItem(nWhich);
+ {
+ SvtMiscOptions aMiscOptions;
+ if ( !aMiscOptions.IsExperimentalMode() )
+ rSet.DisableItem( nWhich );
+ }
break;
}
nWhich = aIter.NextWhich();