summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/cellsuno.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-06-09 17:28:19 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-06-11 14:54:14 +0200
commitb1fe17f280b24e78e7ee55d4762dc64a98d6f302 (patch)
tree819aecb52d9c92a3cf6b640c52da8cfcf6a077fa /sc/source/ui/unoobj/cellsuno.cxx
parent51178765e8afe33ebbb2016219cff869d88ca07f (diff)
Simplify Sequences initializations (sc)
Change-Id: I0c581b3a900a6b89c0f4e203310d65600545987f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116929 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 365291851c6f..1922781652d5 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2978,7 +2978,7 @@ uno::Sequence< uno::Sequence<double> > SAL_CALL ScCellRangesBase::getData()
return aRowSeq;
}
- return uno::Sequence< uno::Sequence<double> >(0);
+ return {};
}
ScRangeListRef ScCellRangesBase::GetLimitedChartRanges_Impl( sal_Int32 nDataColumns, sal_Int32 nDataRows ) const
@@ -3080,7 +3080,7 @@ uno::Sequence<OUString> SAL_CALL ScCellRangesBase::getRowDescriptions()
return aSeq;
}
- return uno::Sequence<OUString>(0);
+ return {};
}
void SAL_CALL ScCellRangesBase::setRowDescriptions(
@@ -3149,7 +3149,7 @@ uno::Sequence<OUString> SAL_CALL ScCellRangesBase::getColumnDescriptions()
return aSeq;
}
- return uno::Sequence<OUString>(0);
+ return {};
}
void SAL_CALL ScCellRangesBase::setColumnDescriptions(
@@ -4094,7 +4094,7 @@ uno::Sequence<table::CellRangeAddress> SAL_CALL ScCellRangesObj::getRangeAddress
return aSeq;
}
- return uno::Sequence<table::CellRangeAddress>(0); // can be empty
+ return {}; // can be empty
}
uno::Reference<container::XEnumerationAccess> SAL_CALL ScCellRangesObj::getCells()
@@ -4484,7 +4484,7 @@ uno::Sequence<OUString> SAL_CALL ScCellRangesObj::getElementNames()
}
return aSeq;
}
- return uno::Sequence<OUString>(0);
+ return {};
}
sal_Bool SAL_CALL ScCellRangesObj::hasByName( const OUString& aName )
@@ -6829,7 +6829,7 @@ uno::Sequence<sheet::TablePageBreakData> SAL_CALL ScTableSheetObj::getColumnPage
}
return aSeq;
}
- return uno::Sequence<sheet::TablePageBreakData>(0);
+ return {};
}
uno::Sequence<sheet::TablePageBreakData> SAL_CALL ScTableSheetObj::getRowPageBreaks()
@@ -6852,7 +6852,7 @@ uno::Sequence<sheet::TablePageBreakData> SAL_CALL ScTableSheetObj::getRowPageBre
}
return rDoc.GetRowBreakData(nTab);
}
- return uno::Sequence<sheet::TablePageBreakData>(0);
+ return {};
}
void SAL_CALL ScTableSheetObj::removeAllManualPageBreaks()