[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Jan 30 17:10:34 UTC 2018


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

New commits:
commit 4ac1a46f712f38fee3323e7c4ed121880469a9d3
Author: Markus Mohrhard <markus.mohrhard at 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.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    (cherry picked from commit 65722772f00a40b8ca8adf21e31c22295ef7d215)
    Reviewed-on: https://gerrit.libreoffice.org/47696
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at 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();


More information about the Libreoffice-commits mailing list