diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-03 15:53:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-07 11:42:37 +0200 |
commit | f59d9e7ea09482c2e9e5f52a8d0445e4cebc3df5 (patch) | |
tree | 32660175a848b4cbb80d7c4f1d2fe04e790fb6e2 /desktop/source/deployment | |
parent | 97db1d17be599c8627110cbb4f57f0cb36da178c (diff) |
new loplugin:unusedvariableplus
a particularly aggressive checker, which is why it is off by default
Change-Id: Id5a0faa50b3ecc75e01f4aedc6579c5209e585da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91643
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/registry/configuration/dp_configuration.cxx | 1 | ||||
-rw-r--r-- | desktop/source/deployment/registry/dp_backenddb.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx index ca11affbca7c..9b7d4386fec5 100644 --- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx +++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx @@ -324,7 +324,6 @@ Reference<deployment::XPackage> BackendImpl::bindPackage_( name = StrTitle::getTitle( ucbContent ); } - ::ucbhelper::Content ucbContent( url, xCmdEnv, m_xComponentContext ); if (subType.equalsIgnoreAsciiCase( "vnd.sun.star.configuration-data")) { return new PackageImpl( diff --git a/desktop/source/deployment/registry/dp_backenddb.cxx b/desktop/source/deployment/registry/dp_backenddb.cxx index 8ee51be6bc28..edc64b1996ef 100644 --- a/desktop/source/deployment/registry/dp_backenddb.cxx +++ b/desktop/source/deployment/registry/dp_backenddb.cxx @@ -275,7 +275,6 @@ void BackendDb::writeVectorOfPair( OSL_ASSERT(!sNameSpace.isEmpty()); const OUString sPrefix(getNSPrefix() + ":"); const Reference<css::xml::dom::XDocument> doc = getDocument(); - const Reference<css::xml::dom::XNode> root = doc->getFirstChild(); const Reference<css::xml::dom::XElement> vectorNode( doc->createElementNS(sNameSpace, sPrefix + sVectorTagName)); |