summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-10 15:19:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-20 10:12:57 +0200
commitda7489eb6aa9dfedb43f9be6e1b90e3ae06a75cc (patch)
treea83a32677046ede93c124af8edc8801bcb6e896f /registry
parentabea0d6647c7f1f7e76c73c26cb80e6a67dc5111 (diff)
compact namespace decl
used git grep -lw namespace | xargs perl -i -p0e 's/(\w+)\s*.\{.\s*namespace\s*(\w+)/\1::\2/smg;' to do the initial replace, then compiled and fixed. Change-Id: If69904d75940c851aeffab0e78c4ba02cc968d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/fileurl.hxx7
-rw-r--r--registry/tools/options.hxx7
2 files changed, 4 insertions, 10 deletions
diff --git a/registry/tools/fileurl.hxx b/registry/tools/fileurl.hxx
index 684ca8c3c460..b2a68502618c 100644
--- a/registry/tools/fileurl.hxx
+++ b/registry/tools/fileurl.hxx
@@ -22,15 +22,12 @@
#include <rtl/ustring.hxx>
-namespace registry
-{
-namespace tools
+namespace registry::tools
{
OUString convertToFileUrl(char const * filename, sal_Int32 length);
-} // namespace tools
-} // namespace registry
+} // namespace registry::tools
#endif /* INCLUDED_REGISTRY_TOOLS_FILEURL_HXX */
diff --git a/registry/tools/options.hxx b/registry/tools/options.hxx
index a0ae71b499d9..6813d21fc930 100644
--- a/registry/tools/options.hxx
+++ b/registry/tools/options.hxx
@@ -23,9 +23,7 @@
#include <string>
#include <vector>
-namespace registry
-{
-namespace tools
+namespace registry::tools
{
class Options
{
@@ -52,8 +50,7 @@ protected:
virtual void printUsage_Impl() const = 0;
};
-} // namespace tools
-} // namespace registry
+} // namespace registry::tools
#endif /* INCLUDED_REGISTRY_TOOLS_OPTIONS_HXX */