summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-05 20:33:16 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-05 23:03:52 +0200
commit1f90b8086fcad7ac033e76a96bf102db7c15e44f (patch)
treefc961a40b971a5cce79a4ce9ac9bcde61c3418b6 /svtools
parent3068ab9a2c9307cbea2efa2b6924ce427bb54466 (diff)
drop 'using namespace std' in s* + toolkit
Change-Id: Ibd0b983d46a5683df64b4de79cd444427705e9e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123118 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx13
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx1
2 files changed, 6 insertions, 8 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index f17d60a03765..c4af43b1d267 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -35,7 +35,6 @@
#include <memory>
#include <vector>
-using namespace std;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -96,10 +95,10 @@ class ImplRulerData
friend class Ruler;
private:
- vector<RulerLine> pLines;
- vector<RulerBorder> pBorders;
- vector<RulerIndent> pIndents;
- vector<RulerTab> pTabs;
+ std::vector<RulerLine> pLines;
+ std::vector<RulerBorder> pBorders;
+ std::vector<RulerIndent> pIndents;
+ std::vector<RulerTab> pTabs;
tools::Long nNullVirOff;
tools::Long nRulVirOff;
@@ -2501,7 +2500,7 @@ void Ruler::SetLines( sal_uInt32 aLineArraySize, const RulerLine* pLineArray )
if ( mpData->pLines.size() == aLineArraySize )
{
sal_uInt32 i = aLineArraySize;
- vector<RulerLine>::const_iterator aItr1 = mpData->pLines.begin();
+ std::vector<RulerLine>::const_iterator aItr1 = mpData->pLines.begin();
const RulerLine* pAry2 = pLineArray;
while ( i )
{
@@ -2644,7 +2643,7 @@ void Ruler::SetTabs( sal_uInt32 aTabArraySize, const RulerTab* pTabArray )
else
{
sal_uInt32 i = aTabArraySize;
- vector<RulerTab>::iterator aTabIterator = mpData->pTabs.begin();
+ std::vector<RulerTab>::iterator aTabIterator = mpData->pTabs.begin();
const RulerTab* pInputArray = pTabArray;
while ( i )
{
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index b4afe9bb2d5c..52635afe2771 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -26,7 +26,6 @@
#include "ServerDetailsControls.hxx"
-using namespace std;
using namespace com::sun::star::sdbc;
using namespace com::sun::star::task;
using namespace com::sun::star::ucb;