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 --- sw/source/uibase/docvw/AnchorOverlayObject.cxx | 2 +- sw/source/uibase/docvw/OverlayRanges.cxx | 4 ++-- sw/source/uibase/docvw/frmsidebarwincontainer.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/source/uibase') diff --git a/sw/source/uibase/docvw/AnchorOverlayObject.cxx b/sw/source/uibase/docvw/AnchorOverlayObject.cxx index f6b3de150c8c..b5a216330587 100644 --- a/sw/source/uibase/docvw/AnchorOverlayObject.cxx +++ b/sw/source/uibase/docvw/AnchorOverlayObject.cxx @@ -377,6 +377,6 @@ void AnchorOverlayObject::SetAnchorState( const AnchorState aState) } } -} // end of namespace sw::annotation +} // end of namespace sw::sidebarwindows /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/docvw/OverlayRanges.cxx b/sw/source/uibase/docvw/OverlayRanges.cxx index 9f7f7968f8d7..4a347e4d8972 100644 --- a/sw/source/uibase/docvw/OverlayRanges.cxx +++ b/sw/source/uibase/docvw/OverlayRanges.cxx @@ -56,7 +56,7 @@ namespace } namespace sw::overlay - { +{ drawinglayer::primitive2d::Primitive2DContainer OverlayRanges::createOverlayObjectPrimitive2DSequence() { const sal_uInt32 nCount(getRanges().size()); @@ -172,6 +172,6 @@ namespace sw::overlay } } - } // end of namespace sdr +} // end of namespace sw::overlay /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/docvw/frmsidebarwincontainer.cxx b/sw/source/uibase/docvw/frmsidebarwincontainer.cxx index f52177742148..17da0beee4f8 100644 --- a/sw/source/uibase/docvw/frmsidebarwincontainer.cxx +++ b/sw/source/uibase/docvw/frmsidebarwincontainer.cxx @@ -167,6 +167,6 @@ void SwFrameSidebarWinContainer::getAll( const SwFrame& rFrame, } } -} // eof of namespace sw::sidebarwindows:: +} // eof of namespace sw::sidebarwindows /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit