summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-14 16:25:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-15 06:58:20 +0100
commit8dbe8eac89c563cbbc2de5c8e281f4fd9b817328 (patch)
tree82855531575afa6e4bbb18d32fc782058dcd285a /codemaker
parent248ddbc4e9191c7f980fc8d6df6337fc535faab0 (diff)
clang-tidy modernize-concat-nested-namespace in codemaker..configmgr
Change-Id: I48452480fae169e11d60b125bbd0226b6a35a25c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86800 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/commoncpp/commoncpp.cxx4
-rw-r--r--codemaker/source/commonjava/commonjava.cxx4
-rw-r--r--codemaker/source/cppumaker/dependencies.cxx4
-rw-r--r--codemaker/source/cppumaker/dumputils.cxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/codemaker/source/commoncpp/commoncpp.cxx b/codemaker/source/commoncpp/commoncpp.cxx
index 6774aedf4fba..b7eaac4ae59e 100644
--- a/codemaker/source/commoncpp/commoncpp.cxx
+++ b/codemaker/source/commoncpp/commoncpp.cxx
@@ -32,7 +32,7 @@
#include <vector>
-namespace codemaker { namespace cpp {
+namespace codemaker::cpp {
OString scopedCppName(OString const & type, bool ns_alias)
{
@@ -293,6 +293,6 @@ OString translateUnoToCppIdentifier(
}
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/codemaker/source/commonjava/commonjava.cxx b/codemaker/source/commonjava/commonjava.cxx
index bdb1b02b63a7..d33969676ee6 100644
--- a/codemaker/source/commonjava/commonjava.cxx
+++ b/codemaker/source/commonjava/commonjava.cxx
@@ -34,7 +34,7 @@
#include <vector>
-namespace codemaker { namespace java {
+namespace codemaker::java {
OString translateUnoToJavaType(
codemaker::UnoType::Sort sort, OString const & nucleus, bool referenceType)
@@ -130,6 +130,6 @@ OString translateUnoToJavaIdentifier(
}
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx
index 71855e2a9e47..eb257c6966af 100644
--- a/codemaker/source/cppumaker/dependencies.cxx
+++ b/codemaker/source/cppumaker/dependencies.cxx
@@ -35,7 +35,7 @@
#include "dependencies.hxx"
-namespace codemaker { namespace cppumaker {
+namespace codemaker::cppumaker {
Dependencies::Dependencies(
rtl::Reference< TypeManager > const & manager, OUString const & name):
@@ -291,6 +291,6 @@ void Dependencies::insert(OUString const & name, Kind kind) {
}
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/codemaker/source/cppumaker/dumputils.cxx b/codemaker/source/cppumaker/dumputils.cxx
index ec4a586c4a17..1f993b3ef7d8 100644
--- a/codemaker/source/cppumaker/dumputils.cxx
+++ b/codemaker/source/cppumaker/dumputils.cxx
@@ -26,7 +26,7 @@
#include <sal/types.h>
-namespace codemaker { namespace cppumaker {
+namespace codemaker::cppumaker {
bool dumpNamespaceOpen(
FileStream & out, OUString const & entityName, bool fullModuleType)
@@ -73,6 +73,6 @@ void dumpTypeIdentifier(FileStream & out, OUString const & entityName) {
out << entityName.copy(entityName.lastIndexOf('.') + 1);
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */