summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 19:48:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-31 18:36:09 +0100
commitc82efb610bf556ea12cbe4f94568ac619897799f (patch)
tree997f443876b4f3c9f10a46f2d0df65093f9d8731 /registry
parent04405edc3fac32938b8940bc767656ea6c7820f9 (diff)
clang-tidy modernize-concat-nested-namespace
Change-Id: Iab35a8b85b3ba1df791c774f40b037f9420a071a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86708 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/fileurl.cxx7
-rw-r--r--registry/tools/options.cxx7
2 files changed, 4 insertions, 10 deletions
diff --git a/registry/tools/fileurl.cxx b/registry/tools/fileurl.cxx
index 8495b1fce226..dec3be5e5b0d 100644
--- a/registry/tools/fileurl.cxx
+++ b/registry/tools/fileurl.cxx
@@ -34,9 +34,7 @@
using osl::FileBase;
-namespace registry
-{
-namespace tools
+namespace registry::tools
{
OUString convertToFileUrl(char const * filename, sal_Int32 length)
@@ -76,7 +74,6 @@ OUString convertToFileUrl(char const * filename, sal_Int32 length)
return uFileUrl;
}
-} // namespace tools
-} // namespace registry
+} // namespace registry::tools
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/registry/tools/options.cxx b/registry/tools/options.cxx
index e9b9c23950bf..81d1131f75c2 100644
--- a/registry/tools/options.cxx
+++ b/registry/tools/options.cxx
@@ -23,9 +23,7 @@
#include <stdio.h>
-namespace registry
-{
-namespace tools
+namespace registry::tools
{
Options::Options (char const * program)
@@ -141,7 +139,6 @@ bool Options::printUsage() const
return false;
}
-} // namespace tools
-} // namespace registry
+} // namespace registry::tools
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */