diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-14 16:26:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-15 06:58:12 +0100 |
commit | 248ddbc4e9191c7f980fc8d6df6337fc535faab0 (patch) | |
tree | 89595ccb14efef0f3144709245942e2895af484d /cppcanvas/source/tools | |
parent | 21160cd09c3b7399bb34005a916ed5cd2866e43b (diff) |
clang-tidy modernize-concat-nested-namespace in cppcanvas..cppuhelper
Change-Id: I0bb4ea91288a15fb590d077fb390c53be8b50400
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86801
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.cxx | 6 | ||||
-rw-r--r-- | cppcanvas/source/tools/tools.cxx | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx index d67efbe8e7ef..a233eda34453 100644 --- a/cppcanvas/source/tools/canvasgraphichelper.cxx +++ b/cppcanvas/source/tools/canvasgraphichelper.cxx @@ -31,10 +31,7 @@ using namespace ::com::sun::star; /* Implementation of CanvasGraphicHelper class */ -namespace cppcanvas -{ - - namespace internal +namespace cppcanvas::internal { CanvasGraphicHelper::CanvasGraphicHelper( const CanvasSharedPtr& rParentCanvas ) : maClipPolyPolygon(), @@ -87,6 +84,5 @@ namespace cppcanvas } } -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/tools/tools.cxx b/cppcanvas/source/tools/tools.cxx index de0e0d1c5169..5813851e0065 100644 --- a/cppcanvas/source/tools/tools.cxx +++ b/cppcanvas/source/tools/tools.cxx @@ -23,9 +23,7 @@ using namespace ::com::sun::star; -namespace cppcanvas -{ - namespace tools +namespace cppcanvas::tools { uno::Sequence< double > intSRGBAToDoubleSequence( IntSRGBA aColor ) { @@ -47,6 +45,5 @@ namespace cppcanvas static_cast<sal_uInt8>( 255*rColor[3] + .5 ) ); } } -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |