summaryrefslogtreecommitdiff
path: root/cppu/qa
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/qa
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/qa')
-rw-r--r--cppu/qa/cppumaker/test_cppumaker.cxx4
-rw-r--r--cppu/qa/test_unotype.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/cppu/qa/cppumaker/test_cppumaker.cxx b/cppu/qa/cppumaker/test_cppumaker.cxx
index ca81355210bb..78097e26e854 100644
--- a/cppu/qa/cppumaker/test_cppumaker.cxx
+++ b/cppu/qa/cppumaker/test_cppumaker.cxx
@@ -365,7 +365,7 @@
#include <cstddef>
-namespace test { namespace codemaker { namespace cppumaker {
+namespace test::codemaker::cppumaker {
static bool operator ==(
test::codemaker::cppumaker::TestException1 const & e1,
@@ -376,7 +376,7 @@ static bool operator ==(
&& e1.m4.member1 == e2.m4.member1 && e1.m4.member2 == e2.m4.member2;
}
-} } }
+}
namespace {
diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx
index 910afec9db95..829676a14d74 100644
--- a/cppu/qa/test_unotype.cxx
+++ b/cppu/qa/test_unotype.cxx
@@ -38,11 +38,11 @@
#include <cppu/unotype.hxx>
#include <rtl/ustring.hxx>
-namespace com { namespace sun { namespace star { namespace uno {
+namespace com::sun::star::uno {
class Any;
-} } } }
+}
-namespace com { namespace sun { namespace star { namespace uno { template <class interface_type> class Reference; } } } }
+namespace com::sun::star::uno { template <class interface_type> class Reference; }
namespace {