diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-12 11:41:11 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-12 13:23:54 +0200 |
commit | 65722772f00a40b8ca8adf21e31c22295ef7d215 (patch) | |
tree | adbd72298c09a970ab4ec2ad4ad5b25e3609a86f | |
parent | 8a5f9baf4113ce9c160f8bef3230cfe4a0a1d1e1 (diff) |
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>
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 7a2848251b1a..4908f4179136 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -1215,7 +1215,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(); |