summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-04 20:37:54 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-04 22:25:07 +0200
commitbf82274d327146ec0aa2b4f8a0e6d1bf24366cb3 (patch)
tree180b6185aa3d5194d89cd21d901f70ed32e5c5dd /sc
parentb845fc51bb5c40eac121bbe52d8c77257bcbcdf3 (diff)
drop 'using namespace std' in sax/sc/scaddins/sfx2/shell
Change-Id: I422a6d5b0151115203fd2d7c0fc5597903d3ec8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123064 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpresfilter.cxx1
-rw-r--r--sc/source/core/data/table5.cxx4
2 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/core/data/dpresfilter.cxx b/sc/source/core/data/dpresfilter.cxx
index 0080f1931809..fb13707e83b3 100644
--- a/sc/source/core/data/dpresfilter.cxx
+++ b/sc/source/core/data/dpresfilter.cxx
@@ -20,7 +20,6 @@
#include <limits>
using namespace com::sun::star;
-using namespace std;
ScDPResultFilter::ScDPResultFilter(const OUString& rDimName, bool bDataLayout) :
maDimName(rDimName), mbHasValue(false), mbDataLayout(bDataLayout) {}
diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx
index 244ba04d53aa..6c04781df60a 100644
--- a/sc/source/core/data/table5.cxx
+++ b/sc/source/core/data/table5.cxx
@@ -340,7 +340,6 @@ void ScTable::GetAllRowBreaks(set<SCROW>& rBreaks, bool bPage, bool bManual) con
if (bManual)
{
- using namespace std;
copy(maRowManualBreaks.begin(), maRowManualBreaks.end(),
inserter(rBreaks, rBreaks.begin()));
}
@@ -353,7 +352,6 @@ void ScTable::GetAllColBreaks(set<SCCOL>& rBreaks, bool bPage, bool bManual) con
if (bManual)
{
- using namespace std;
copy(maColManualBreaks.begin(), maColManualBreaks.end(),
inserter(rBreaks, rBreaks.begin()));
}
@@ -399,8 +397,6 @@ SCROW ScTable::GetNextManualBreak(SCROW nRow) const
void ScTable::RemoveRowPageBreaks(SCROW nStartRow, SCROW nEndRow)
{
- using namespace std;
-
if (!ValidRow(nStartRow) || !ValidRow(nEndRow))
return;