summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/excel/impop.cxx2
-rw-r--r--sc/source/filter/excel/xestyle.cxx2
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
-rw-r--r--sc/source/filter/xml/xmlcelli.cxx2
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx6
7 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
index 16837e0809ec..ba26604d3568 100644
--- a/sc/source/filter/excel/impop.cxx
+++ b/sc/source/filter/excel/impop.cxx
@@ -130,7 +130,7 @@ ImportExcel::ImportExcel( XclImpRootData& rImpData, SvStream& rStrm ):
pExcRoot->pShrfmlaBuff = new SharedFormulaBuffer( pExcRoot ); //&aShrfrmlaBuff;
pExcRoot->pExtNameBuff = new ExtNameBuff ( *this );
- pOutlineListBuffer = new XclImpOutlineListBuffer( );
+ pOutlineListBuffer = new XclImpOutlineListBuffer;
// ab Biff8
pFormConv = pExcRoot->pFmlaConverter = new ExcelToSc( GetRoot() );
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index f13aa29b07f5..1bb6619eb4a8 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -3032,7 +3032,7 @@ XclExpDxfs::XclExpDxfs( const XclExpRoot& rRoot )
pCellProt = nullptr;
}
- XclExpColor* pColor = new XclExpColor();
+ XclExpColor* pColor = new XclExpColor;
if(!pColor->FillFromItemSet( rSet ))
{
delete pColor;
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 9f7bc261275e..3f2ef7ed02f0 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -1285,7 +1285,7 @@ void ScHTMLExport::CopyLocalFileToINet( OUString& rFileNm,
}
else
{
- pFileNameMap.reset( new std::map<OUString, OUString>() );
+ pFileNameMap.reset( new std::map<OUString, OUString> );
}
bool bRet = false;
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);