diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 13:26:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 07:19:46 +0100 |
commit | 65f007c629e5a7b2710e21e3f26164b433576e27 (patch) | |
tree | d064b7c23ffe3948443fe1a4499a56308e01f97a /sd/source/ui/framework/factories/BasicViewFactory.cxx | |
parent | 1446e097e76669c0d7749ec0f8918606d3cc4c28 (diff) |
remove some unused local vars
found by my new aggressive unused var plugin. these are unused return
values from function calls
Change-Id: I3359c583f535828f192cb833762dfedc008d82f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87439
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/framework/factories/BasicViewFactory.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/BasicViewFactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index c4260ce8fc6b..83601e413e2b 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -438,7 +438,7 @@ bool BasicViewFactory::IsCacheable (const std::shared_ptr<ViewDescriptor>& rpDes static ::std::vector<Reference<XResourceId> > s_aCacheableResources = [&]() { ::std::vector<Reference<XResourceId> > tmp; - std::shared_ptr<FrameworkHelper> pHelper (FrameworkHelper::Instance(*mpBase)); + FrameworkHelper::Instance(*mpBase); // The slide sorter and the task panel are cacheable and relocatable. tmp.push_back(FrameworkHelper::CreateResourceId( |