summaryrefslogtreecommitdiff
path: root/cppu/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-14 16:26:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-15 06:58:12 +0100
commit248ddbc4e9191c7f980fc8d6df6337fc535faab0 (patch)
tree89595ccb14efef0f3144709245942e2895af484d /cppu/source/helper
parent21160cd09c3b7399bb34005a916ed5cd2866e43b (diff)
clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelper
Change-Id: I0bb4ea91288a15fb590d077fb390c53be8b50400 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86801 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppu/source/helper')
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Environment.cxx4
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
index bb8af537c4b8..a0163939ffb5 100644
--- a/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
+++ b/cppu/source/helper/purpenv/helper_purpenv_Environment.cxx
@@ -510,13 +510,13 @@ bool Base::v_isValid(OUString * pReason)
return m_pEnterable->isValid(pReason);
}
-namespace cppu { namespace helper { namespace purpenv {
+namespace cppu::helper::purpenv {
void Environment_initWithEnterable(uno_Environment * pEnvironment, cppu::Enterable * pEnterable)
{
new Base(pEnvironment, pEnterable);
}
-}}}
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
index 6255b2f0b52a..f68a47390cdb 100644
--- a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
+++ b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
@@ -196,7 +196,7 @@ void Mapping::release()
}
-namespace cppu { namespace helper { namespace purpenv {
+namespace cppu::helper::purpenv {
void createMapping(uno_Mapping ** ppMapping,
uno_Environment * pFrom,
@@ -210,6 +210,6 @@ void createMapping(uno_Mapping ** ppMapping,
::uno_registerMapping(ppMapping, s_free, pFrom, pTo, nullptr);
}
-}}}
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */