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()); + mpLineDescriptors.reset(new vector); vector::const_iterator iPart (rTextParts.begin()); vector::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; }