summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer
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/mtfrenderer
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/mtfrenderer')
-rw-r--r--cppcanvas/source/mtfrenderer/bitmapaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/lineaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/pointaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/polypolyaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx4
-rw-r--r--cppcanvas/source/mtfrenderer/transparencygroupaction.cxx4
9 files changed, 18 insertions, 18 deletions
diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.cxx b/cppcanvas/source/mtfrenderer/bitmapaction.cxx
index b427142a874a..8040c9a018c0 100644
--- a/cppcanvas/source/mtfrenderer/bitmapaction.cxx
+++ b/cppcanvas/source/mtfrenderer/bitmapaction.cxx
@@ -39,7 +39,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
namespace
{
@@ -214,6 +214,6 @@ namespace cppcanvas::internal
rCanvas,
rState );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
index afaa100dce8f..8d63d30a335a 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
@@ -30,7 +30,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
CachedPrimitiveBase::CachedPrimitiveBase( const CanvasSharedPtr& rCanvas,
bool bOnlyRedrawWithSameTransform ) :
mpCanvas( rCanvas ),
@@ -76,6 +76,6 @@ namespace cppcanvas::internal
return renderPrimitive( mxCachedPrimitive,
rTransformation );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index ca5b531138c7..14e3981547d5 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -229,7 +229,7 @@ namespace
}
namespace cppcanvas::internal
- {
+{
// state stack manipulators
void VectorOfOutDevStates::clearStateStack()
@@ -3069,6 +3069,6 @@ namespace cppcanvas::internal
return false;
}
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/lineaction.cxx b/cppcanvas/source/mtfrenderer/lineaction.cxx
index ba479ddc9e9e..066a2e0052f1 100644
--- a/cppcanvas/source/mtfrenderer/lineaction.cxx
+++ b/cppcanvas/source/mtfrenderer/lineaction.cxx
@@ -37,7 +37,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
namespace
{
class LineAction : public Action
@@ -149,6 +149,6 @@ namespace cppcanvas::internal
rState);
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index 67e3fad6f720..f043162ee9f2 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -37,7 +37,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::tools
- {
+{
void initRenderState( rendering::RenderState& renderState,
const ::cppcanvas::internal::OutDevState& outdevState )
{
@@ -666,6 +666,6 @@ namespace cppcanvas::tools
createUnderlinePolyPolygon(rUnderlinePolyPoly, aStartPos, rLineWidth, rTextLineInfo);
createStrikeoutPolyPolygon(rStrikeoutPolyPoly, aStartPos, rLineWidth, rTextLineInfo);
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/pointaction.cxx b/cppcanvas/source/mtfrenderer/pointaction.cxx
index 67e2af712cd4..0f2340d9ae74 100644
--- a/cppcanvas/source/mtfrenderer/pointaction.cxx
+++ b/cppcanvas/source/mtfrenderer/pointaction.cxx
@@ -38,7 +38,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
namespace
{
class PointAction : public Action
@@ -168,6 +168,6 @@ namespace cppcanvas::internal
{
return std::make_shared<PointAction>( rPoint, rCanvas, rState, rColor );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
index 5f570d662bfc..6d679cbd0a81 100644
--- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx
+++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx
@@ -39,7 +39,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
namespace
{
class PolyPolyAction : public CachedPrimitiveBase
@@ -500,6 +500,6 @@ namespace cppcanvas::internal
nTransparency );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index c6acfb330a11..277dc4e0d692 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -50,7 +50,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
namespace
{
void init( rendering::RenderState& o_rRenderState,
@@ -2311,6 +2311,6 @@ namespace cppcanvas::internal
}
return ret;
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
index 5636b7608109..5512c0bdbf7d 100644
--- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
+++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
@@ -57,7 +57,7 @@
using namespace ::com::sun::star;
namespace cppcanvas::internal
- {
+{
// free support functions
// ======================
namespace
@@ -471,6 +471,6 @@ namespace cppcanvas::internal
rState );
}
- }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */