summaryrefslogtreecommitdiff
path: root/cppcanvas/source/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-23 15:16:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-31 09:34:46 +0100
commit84b396a235671ea77f1a9fa0d131cb56d7662737 (patch)
tree13d9de3d2b31424e785780864e084bd2d9315ff1 /cppcanvas/source/tools
parentc81d766dd4ff7d8b580b7fdc79db6e68c5f14204 (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 'cppcanvas/source/tools')
-rw-r--r--cppcanvas/source/tools/canvasgraphichelper.cxx4
-rw-r--r--cppcanvas/source/tools/tools.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index a233eda34453..2ccc1f0cbae5 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -32,7 +32,7 @@ using namespace ::com::sun::star;
/* Implementation of CanvasGraphicHelper class */
namespace cppcanvas::internal
- {
+{
CanvasGraphicHelper::CanvasGraphicHelper( const CanvasSharedPtr& rParentCanvas ) :
maClipPolyPolygon(),
mpCanvas( rParentCanvas )
@@ -83,6 +83,6 @@ namespace cppcanvas::internal
maRenderState.CompositeOperation = aOp;
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/tools/tools.cxx b/cppcanvas/source/tools/tools.cxx
index 5813851e0065..a41f40b145c3 100644
--- a/cppcanvas/source/tools/tools.cxx
+++ b/cppcanvas/source/tools/tools.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::tools
- {
+{
uno::Sequence< double > intSRGBAToDoubleSequence( IntSRGBA aColor )
{
uno::Sequence< double > aRes( 4 );
@@ -44,6 +44,6 @@ namespace cppcanvas::tools
static_cast<sal_uInt8>( 255*rColor[2] + .5 ),
static_cast<sal_uInt8>( 255*rColor[3] + .5 ) );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */