summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:33:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:01 +0100
commitfa177eb3e3f6698c2798d85f0a287607221fa695 (patch)
tree0283dd9a02ae5445062943af85d62a18064be3ee /sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
parent1c039083b82d9672de8a2cd088d4e3bd18f99fd0 (diff)
loplugin:subtlezeroinit: sd
Change-Id: I2cfa2507235d51c5518123a290abfa6a4f945872
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsPageSelector.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index d7766d2da5ba..bf35f39e54a8 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -260,7 +260,7 @@ void PageSelector::DisableBroadcasting()
std::shared_ptr<PageSelector::PageSelection> PageSelector::GetPageSelection() const
{
- std::shared_ptr<PageSelection> pSelection (new PageSelection());
+ std::shared_ptr<PageSelection> pSelection (new PageSelection);
pSelection->reserve(GetSelectedPageCount());
int nPageCount = GetPageCount();