summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/package/dp_package.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/registry/package/dp_package.cxx')
-rw-r--r--desktop/source/deployment/registry/package/dp_package.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx
index c2ca9b0ca4c1..fb6ce8668582 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -334,7 +334,7 @@ void BackendImpl::packageRemoved(OUString const & url, OUString const & /*mediaT
m_xRootRegistry->packageRemoved(item.first, item.second);
}
- if (m_backendDb.get())
+ if (m_backendDb)
m_backendDb->removeEntry(url);
}
@@ -420,7 +420,7 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_(
void BackendImpl::addDataToDb(
OUString const & url, ExtensionBackendDb::Data const & data)
{
- if (m_backendDb.get())
+ if (m_backendDb)
m_backendDb->addEntry(url, data);
}
@@ -428,14 +428,14 @@ ExtensionBackendDb::Data BackendImpl::readDataFromDb(
OUString const & url)
{
ExtensionBackendDb::Data data;
- if (m_backendDb.get())
+ if (m_backendDb)
data = m_backendDb->getEntry(url);
return data;
}
void BackendImpl::revokeEntryFromDb(OUString const & url)
{
- if (m_backendDb.get())
+ if (m_backendDb)
m_backendDb->revokeEntry(url);
}