summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata
diff options
context:
space:
mode:
authorCollabora <l.lunak@collabora.com>2021-07-15 12:18:49 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-07-23 10:32:08 +0200
commit2d04d7cc559445d8c1559af6af6d981d9f682db4 (patch)
tree8f9ed81590800f772f162f93473c654f4eefb468 /i18npool/source/localedata
parenta470d97f2ddcb3607ae9d1df871a59f04d823564 (diff)
do not use "using namespace std" in headers
It's a bad style, doing that in headers can affect many source files (especially with PCH used). Change-Id: Ic9091a1d018e74606c9fa95df71a55faaa93d4ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119011 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'i18npool/source/localedata')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx1
-rw-r--r--i18npool/source/localedata/LocaleNode.hxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx
index 942e03271029..0ae5978a75f5 100644
--- a/i18npool/source/localedata/LocaleNode.cxx
+++ b/i18npool/source/localedata/LocaleNode.cxx
@@ -41,6 +41,7 @@ typedef ::o3tl::sorted_vector< OUString > NameSet;
typedef ::o3tl::sorted_vector< sal_Int16 > ValueSet;
namespace cssi = ::com::sun::star::i18n;
+using namespace std;
LocaleNode::LocaleNode (const OUString& name, const Reference< XAttributeList > & attr)
: aName(name)
diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx
index 9706948419bf..bdd3eb62762e 100644
--- a/i18npool/source/localedata/LocaleNode.hxx
+++ b/i18npool/source/localedata/LocaleNode.hxx
@@ -28,7 +28,6 @@
namespace com::sun::star::xml::sax { class XAttributeList; }
-using namespace ::std;
using namespace ::cppu;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;