Kaydet (Commit) 6c9891d4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Let's make it available in experimental mode only.

Change-Id: I023db5b98518296eb2964abe8c62f60d65d413a8
üst 9c09211b
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
#include "interpre.hxx" #include "interpre.hxx"
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <formula/errorcodes.hxx>
#include <svtools/miscopt.hxx>
#include <com/sun/star/ucb/XSimpleFileAccess3.hpp> #include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp> #include <com/sun/star/ucb/SimpleFileAccess.hpp>
...@@ -213,6 +215,13 @@ void ScInterpreter::ScDebugVar() ...@@ -213,6 +215,13 @@ void ScInterpreter::ScDebugVar()
// users. This is a convenient way to extract arbitrary internal state to // users. This is a convenient way to extract arbitrary internal state to
// a cell for easier debugging. // a cell for easier debugging.
SvtMiscOptions aMiscOptions;
if (!aMiscOptions.IsExperimentalMode())
{
PushError(ScErrorCodes::errNoName);
return;
}
if (!MustHaveParamCount(GetByte(), 1)) if (!MustHaveParamCount(GetByte(), 1))
{ {
PushIllegalParameter(); PushIllegalParameter();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment