summaryrefslogtreecommitdiffstats
path: root/desktop/source
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/registry/dp_backend.cxx5
-rw-r--r--desktop/source/deployment/registry/inc/dp_backend.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx
index 1e7de838735e..9078d61b8f79 100644
--- a/desktop/source/deployment/registry/dp_backend.cxx
+++ b/desktop/source/deployment/registry/dp_backend.cxx
@@ -79,8 +79,7 @@ PackageRegistryBackend::PackageRegistryBackend(
Reference<XComponentContext> const & xContext )
: t_BackendBase( getMutex() ),
m_xComponentContext( xContext ),
- m_eContext( Context::Unknown ),
- m_readOnly( false )
+ m_eContext( Context::Unknown )
{
assert(xContext.is());
boost::optional<OUString> cachePath;
@@ -88,8 +87,6 @@ PackageRegistryBackend::PackageRegistryBackend(
comphelper::unwrapArgs( args, m_context, cachePath, readOnly );
if (cachePath)
m_cachePath = *cachePath;
- if (readOnly)
- m_readOnly = *readOnly;
if ( m_context == "user" )
m_eContext = Context::User;
diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h
index 2fc4c81a52a7..33ea1e5a7a37 100644
--- a/desktop/source/deployment/registry/inc/dp_backend.h
+++ b/desktop/source/deployment/registry/inc/dp_backend.h
@@ -220,7 +220,6 @@ protected:
enum class Context {
Unknown, User, Shared, Bundled, Tmp, Document
} m_eContext;
- bool m_readOnly;
struct StrCannotDetectMediaType : public ::dp_misc::StaticResourceString<
StrCannotDetectMediaType, RID_STR_CANNOT_DETECT_MEDIA_TYPE> {};