summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-09 23:16:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-10 07:43:42 +0200
commitd55320b95b40770986a7bce9ab96fbd570dd8cb7 (patch)
treeddbda2967793f014a4076063d9f13733c5e82368 /sd/source
parentf9569785dd513b9b2f1d7c8c687fed285b0ad280 (diff)
More loplugin:redundantpointerops
...same as 7d361e96c9ea822790db21806e9fc05279423833 "loplugin:redundantpointerops" (that were presumably missed by that commit because I only pulled 682fdbf1312cf6ca70fe209bf4d7051dad8f5008 "loplugin:redundantpointerops check other pointer types" halfway through my local build) Change-Id: I1497e4fca2046cbcd107bb2ac5ed6f41bd68de98 Reviewed-on: https://gerrit.libreoffice.org/80569 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/html/buttonset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/buttonset.cxx b/sd/source/filter/html/buttonset.cxx
index c4b1523d7e59..a6c88b85f367 100644
--- a/sd/source/filter/html/buttonset.cxx
+++ b/sd/source/filter/html/buttonset.cxx
@@ -192,7 +192,7 @@ bool ButtonSetImpl::getPreview( int nSet, const std::vector< OUString >& rButton
{
if( (nSet >= 0) && (nSet < static_cast<int>(maButtons.size())))
{
- ButtonsImpl& rSet = *maButtons[nSet].get();
+ ButtonsImpl& rSet = *maButtons[nSet];
std::vector< Graphic > aGraphics;
@@ -240,7 +240,7 @@ bool ButtonSetImpl::exportButton( int nSet, const OUString& rPath, const OUStrin
{
if( (nSet >= 0) && (nSet < static_cast<int>(maButtons.size())))
{
- ButtonsImpl& rSet = *maButtons[nSet].get();
+ ButtonsImpl& rSet = *maButtons[nSet];
return rSet.copyGraphic( rName, rPath );
}