From 84b396a235671ea77f1a9fa0d131cb56d7662737 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 23 Jan 2020 15:16:37 +0200 Subject: 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 --- svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx') diff --git a/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx index 76b5aa716330..baa8bad642f9 100644 --- a/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrellipseprimitive2d.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star; namespace drawinglayer::primitive2d - { +{ void SdrEllipsePrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -135,11 +135,8 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrEllipsePrimitive2D, PRIMITIVE2D_ID_SDRELLIPSEPRIMITIVE2D) - } // end of namespace drawinglayer -namespace drawinglayer::primitive2d - { void SdrEllipseSegmentPrimitive2D::create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& /*aViewInformation*/) const { Primitive2DContainer aRetval; @@ -261,6 +258,6 @@ namespace drawinglayer::primitive2d // provide unique ID ImplPrimitive2DIDBlock(SdrEllipseSegmentPrimitive2D, PRIMITIVE2D_ID_SDRELLIPSESEGMENTPRIMITIVE2D) - } // end of namespace drawinglayer +} // end of namespace /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit abora/co-2021'>distro/collabora/co-2021 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2016-10-17tdf#100352 Provide French classification fileLaurent Balland-Poirier
2016-10-11tdf#100352 Provide Catalan classification fileAdolfo Jayme Barrientos