diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 12:32:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:35:01 +0100 |
commit | 1c039083b82d9672de8a2cd088d4e3bd18f99fd0 (patch) | |
tree | dced075aa929ad130dddfbd60e8371205df9606a /sdext/source | |
parent | 4d2ba716cbdbb05c193e23f3d46d0f60be1f685d (diff) |
loplugin:subtlezeroinit: sdext
Change-Id: Idaf62b25bba7328e5f7942619df14d0fff4014e6
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/presenter/PresenterHelpView.cxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterPaneContainer.cxx | 2 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.cxx b/sdext/source/presenter/PresenterHelpView.cxx index 2efcee7a8a0f..6ed5f744afe5 100644 --- a/sdext/source/presenter/PresenterHelpView.cxx +++ b/sdext/source/presenter/PresenterHelpView.cxx @@ -349,7 +349,7 @@ void PresenterHelpView::Paint (const awt::Rectangle& rUpdateBox) void PresenterHelpView::ReadHelpStrings() { - mpTextContainer.reset(new TextContainer()); + mpTextContainer.reset(new TextContainer); PresenterConfigurationAccess aConfiguration ( mxComponentContext, "/org.openoffice.Office.PresenterScreen/", @@ -668,7 +668,7 @@ void LineDescriptorList::FormatText ( { LineDescriptor aLineDescriptor; - mpLineDescriptors.reset(new vector<LineDescriptor>()); + mpLineDescriptors.reset(new vector<LineDescriptor>); vector<OUString>::const_iterator iPart (rTextParts.begin()); vector<OUString>::const_iterator iEnd (rTextParts.end()); diff --git a/sdext/source/presenter/PresenterPaneContainer.cxx b/sdext/source/presenter/PresenterPaneContainer.cxx index 05a6a1e3e54d..66eef2cef50f 100644 --- a/sdext/source/presenter/PresenterPaneContainer.cxx +++ b/sdext/source/presenter/PresenterPaneContainer.cxx @@ -70,7 +70,7 @@ void PresenterPaneContainer::PreparePane ( if (pPane.get() == nullptr) { // No entry found for the given pane id. Create a new one. - SharedPaneDescriptor pDescriptor (new PaneDescriptor()); + SharedPaneDescriptor pDescriptor (new PaneDescriptor); pDescriptor->mxPaneId = rxPaneId; pDescriptor->msViewURL = rsViewURL; pDescriptor->mxPane = nullptr; diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 9889e35bbff2..de0a63e2d355 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -609,7 +609,7 @@ void PresenterToolBar::CreateControls ( "/org.openoffice.Office.PresenterScreen/", PresenterConfigurationAccess::READ_ONLY); - mpCurrentContainerPart.reset(new ElementContainerPart()); + mpCurrentContainerPart.reset(new ElementContainerPart); maElementContainer.clear(); maElementContainer.push_back(mpCurrentContainerPart); @@ -679,7 +679,7 @@ void PresenterToolBar::ProcessEntry ( pElement.set(new Label(this)); else if ( sType == "ChangeOrientation" ) { - mpCurrentContainerPart.reset(new ElementContainerPart()); + mpCurrentContainerPart.reset(new ElementContainerPart); maElementContainer.push_back(mpCurrentContainerPart); return; } |