diff options
Diffstat (limited to 'sc/source/filter/xml')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index f5e2ee144e82..f48cad0154be 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -682,7 +682,7 @@ SvXMLImportContext *ScXMLTableRowCellContext::CreateChildContext( sal_uInt16 nPr { bIsEmpty = false; if (!pDetectiveObjVec) - pDetectiveObjVec = new ScMyImpDetectiveObjVec(); + pDetectiveObjVec = new ScMyImpDetectiveObjVec; pContext = new ScXMLDetectiveContext( rXMLImport, nPrefix, rLName, pDetectiveObjVec ); } diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index c7f169fc45f6..01e88a37c5bb 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -367,7 +367,7 @@ ScXMLExport::ScXMLExport( pMergedRangesContainer = new ScMyMergedRangesContainer(); pValidationsContainer = new ScMyValidationsContainer(); mpCellsItr.reset(new ScMyNotEmptyCellsIterator(*this)); - pDefaults = new ScMyDefaultStyles(); + pDefaults = new ScMyDefaultStyles; } pCellStyles = new ScFormatRangeStyles(); diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index 0832f3df3936..34208af4b299 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -3040,7 +3040,7 @@ XMLNumberFormatAttributesExportHelper* ScXMLImport::GetNumberFormatAttributesExp ScMyStyleNumberFormats* ScXMLImport::GetStyleNumberFormats() { if (!pStyleNumberFormats) - pStyleNumberFormats = new ScMyStyleNumberFormats(); + pStyleNumberFormats = new ScMyStyleNumberFormats; return pStyleNumberFormats; } 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); |