summaryrefslogtreecommitdiffstats
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:32:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:01 +0100
commit1c039083b82d9672de8a2cd088d4e3bd18f99fd0 (patch)
treedced075aa929ad130dddfbd60e8371205df9606a /sdext
parentloplugin:subtlezeroinit: sfx2 (diff)
downloadcore-1c039083b82d9672de8a2cd088d4e3bd18f99fd0.tar.gz
core-1c039083b82d9672de8a2cd088d4e3bd18f99fd0.zip
loplugin:subtlezeroinit: sdext
Change-Id: Idaf62b25bba7328e5f7942619df14d0fff4014e6
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterHelpView.cxx4
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.cxx2
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx4
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;
}