diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 15:16:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 09:34:46 +0100 |
commit | 84b396a235671ea77f1a9fa0d131cb56d7662737 (patch) | |
tree | 13d9de3d2b31424e785780864e084bd2d9315ff1 /drawinglayer/source/geometry | |
parent | c81d766dd4ff7d8b580b7fdc79db6e68c5f14204 (diff) |
new loplugin:namespaceindentation
check indentation of braces in namespace decls,
and the comments that often appear with them.
This is my penance for messing up the indentation with
clang-tidy-modernize-namespaces.
As such I have limited it to new-style namespaces for now,
and the check is off by default.
Change-Id: I4db7f10a81c79bc0eece8f8e3ee564da8bc7f168
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/geometry')
-rw-r--r-- | drawinglayer/source/geometry/viewinformation2d.cxx | 4 | ||||
-rw-r--r-- | drawinglayer/source/geometry/viewinformation3d.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drawinglayer/source/geometry/viewinformation2d.cxx b/drawinglayer/source/geometry/viewinformation2d.cxx index 7dd74bd112ce..c5c053e07aff 100644 --- a/drawinglayer/source/geometry/viewinformation2d.cxx +++ b/drawinglayer/source/geometry/viewinformation2d.cxx @@ -387,11 +387,11 @@ namespace drawinglayer::geometry && mxExtendedInformation == rCandidate.mxExtendedInformation); } }; - } // end of namespace drawinglayer +} // end of namespace drawinglayer::geometry namespace drawinglayer::geometry - { +{ namespace { struct theGlobalDefault : diff --git a/drawinglayer/source/geometry/viewinformation3d.cxx b/drawinglayer/source/geometry/viewinformation3d.cxx index 879a85f94ef4..f59a88fa0071 100644 --- a/drawinglayer/source/geometry/viewinformation3d.cxx +++ b/drawinglayer/source/geometry/viewinformation3d.cxx @@ -412,11 +412,11 @@ namespace drawinglayer::geometry && mxExtendedInformation == rCandidate.mxExtendedInformation); } }; - } // end of namespace drawinglayer +} // end of namespace drawinglayer::geometry namespace drawinglayer::geometry - { +{ namespace { struct theGlobalDefault : |