diff options
author | Oliver Bolte <obo@openoffice.org> | 2009-03-02 14:47:01 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2009-03-02 14:47:01 +0000 |
commit | f3998b700cbc1d43e0ad7d60ded9b5ec5af0eb59 (patch) | |
tree | aca0d01cb4a3dbe3cd9097301856922ae57fe8c9 | |
parent | 8dce663711b50601d55934b182efef82e334bb71 (diff) |
#i10000# undo last changes, back to rev. 266955
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 9c65283928..3f2def05d7 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -39,7 +39,6 @@ #include "rtl/strbuf.hxx" #include "rtl/ustrbuf.hxx" #include "rtl/uri.hxx" -#include "rtl/bootstrap.hxx" #include "cppuhelper/exc_hlp.hxx" #include "ucbhelper/content.hxx" #include "comphelper/anytostring.hxx" @@ -346,17 +345,7 @@ void BackendImpl::disposing() void BackendImpl::initServiceRdbFiles() { const Reference<XCommandEnvironment> xCmdEnv; - bool bCopyRdb = false; - - OUString sNoRdb; - //Workaround. See issue http://www.openoffice.org/issues/show_bug.cgi?id=99257 - ::rtl::Bootstrap::get(OUSTR("NORDBCOPY"), sNoRdb); - if (sNoRdb.equalsIgnoreAsciiCase(OUSTR("true"))) - bCopyRdb = ! m_readOnly && ! dp_misc::office_is_running(); - else - bCopyRdb = ! m_readOnly; - if (bCopyRdb) - { + if (! m_readOnly) { ::ucbhelper::Content cacheDir( getCachePath(), xCmdEnv ); ::ucbhelper::Content oldRDB; // switch common rdb: |