sc/source/ui/view/cellsh2.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 4ac1a46f712f38fee3323e7c4ed121880469a9d3
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Sat Aug 12 11:41:11 2017 +0200

    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.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    (cherry picked from commit 65722772f00a40b8ca8adf21e31c22295ef7d215)
    Reviewed-on: https://gerrit.libreoffice.org/47696
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to