Kaydet (Commit) 7a400caa authored tarafından Joachim Lingner's avatar Joachim Lingner

jl145: #i99257# Extension Manager prevents running of multiple instances which…

jl145: #i99257# Extension Manager prevents running of multiple instances which acces the same shared data
üst 3c1928ab
......@@ -314,18 +314,6 @@ Reference<deployment::XPackageManager> PackageManagerImpl::create(
}
}
//Workaround. See issue http://www.openoffice.org/issues/show_bug.cgi?id=99257
//This prevents the copying of the common.rdbf and native rdbs. It disables the
//feature to add shared extensions in a running office.
if (!that->m_readOnly && context.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("shared") ))
{
OUString sNoRdb;
::rtl::Bootstrap::get(OUSTR("NORDBCOPY"), sNoRdb);
if (sNoRdb.equalsIgnoreAsciiCase(OUSTR("true"))
&& dp_misc::office_is_running())
that->m_readOnly = true;
}
if (!that->m_readOnly && logFile.getLength() > 0)
{
const Any any_logFile(logFile);
......
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