loplugin:subtlezeroinit: sdext
Change-Id: Idaf62b25bba7328e5f7942619df14d0fff4014e6
This commit is contained in:
@@ -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());
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user