loplugin:subtlezeroinit: sdext

Change-Id: Idaf62b25bba7328e5f7942619df14d0fff4014e6
This commit is contained in:
Stephan Bergmann
2017-02-20 12:32:54 +01:00
parent 4d2ba716cb
commit 1c039083b8
3 changed files with 5 additions and 5 deletions

View File

@@ -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());

View File

@@ -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;

View File

@@ -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;
}