diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 19:41:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:35:02 +0100 |
commit | 41242d35df47ec8fd6b20e7779a4e650aa83cdfb (patch) | |
tree | 43f10b9cec155c8a5ed4c0fcc6f1a441a92b6715 /sc/source/filter/xml/xmlimprt.hxx | |
parent | f34942333ffe1117253a761732a8f65aac4f11b0 (diff) |
loplugin:subtlezeroinit: sc
Change-Id: I98e433441e97d0f2e88f84cd9b3cf91861465bff
Diffstat (limited to 'sc/source/filter/xml/xmlimprt.hxx')
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 0a0c8f73ef0a..e11e61e5558c 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -1096,7 +1096,7 @@ public: void AddNamedExpression(ScMyNamedExpression* pMyNamedExpression) { if (!m_pMyNamedExpressions) - m_pMyNamedExpressions = new ScMyNamedExpressions(); + m_pMyNamedExpressions = new ScMyNamedExpressions; m_pMyNamedExpressions->push_back(std::unique_ptr<ScMyNamedExpression>(pMyNamedExpression)); } @@ -1104,12 +1104,12 @@ public: void AddLabelRange(const ScMyLabelRange* pMyLabelRange) { if (!pMyLabelRanges) - pMyLabelRanges = new ScMyLabelRanges(); + pMyLabelRanges = new ScMyLabelRanges; pMyLabelRanges->push_back(pMyLabelRange); } void AddValidation(const ScMyImportValidation& rValidation) { if (!pValidations) - pValidations = new ScMyImportValidations(); + pValidations = new ScMyImportValidations; pValidations->push_back(rValidation); } bool GetValidation(const OUString& sName, ScMyImportValidation& aValidation); |