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>
This commit is contained in:
@@ -38,9 +38,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@@ -217,6 +215,5 @@ namespace cppcanvas
|
||||
rState );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
CachedPrimitiveBase::CachedPrimitiveBase( const CanvasSharedPtr& rCanvas,
|
||||
bool bOnlyRedrawWithSameTransform ) :
|
||||
@@ -79,6 +77,5 @@ namespace cppcanvas
|
||||
rTransformation );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -228,9 +228,7 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
// state stack manipulators
|
||||
|
||||
@@ -3072,6 +3070,5 @@ namespace cppcanvas
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@@ -152,6 +150,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -36,9 +36,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace tools
|
||||
namespace cppcanvas::tools
|
||||
{
|
||||
void initRenderState( rendering::RenderState& renderState,
|
||||
const ::cppcanvas::internal::OutDevState& outdevState )
|
||||
@@ -669,6 +667,5 @@ namespace cppcanvas
|
||||
createStrikeoutPolyPolygon(rStrikeoutPolyPoly, aStartPos, rLineWidth, rTextLineInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -37,9 +37,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@@ -171,6 +169,5 @@ namespace cppcanvas
|
||||
return std::make_shared<PointAction>( rPoint, rCanvas, rState, rColor );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -38,9 +38,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@@ -503,6 +501,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -49,9 +49,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
namespace
|
||||
{
|
||||
@@ -2314,6 +2312,5 @@ namespace cppcanvas
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -28,9 +28,7 @@ void initLineStyleWaveline(sal_uInt32 nLineStyle, bool& bIsWaveline, bool& bIsBo
|
||||
}
|
||||
}
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
TextLinesHelper::TextLinesHelper(const CanvasSharedPtr& rCanvas, const OutDevState& rState)
|
||||
: mpCanvas(rCanvas)
|
||||
@@ -123,5 +121,4 @@ void TextLinesHelper::render(const rendering::RenderState& rRenderState, bool bN
|
||||
xCanvas->fillPolyPolygon(mxStrikeout, rViewState, rRenderState);
|
||||
}
|
||||
}
|
||||
}
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||
|
||||
@@ -56,9 +56,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
// free support functions
|
||||
// ======================
|
||||
@@ -474,6 +472,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -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: */
|
||||
|
||||
@@ -26,10 +26,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
|
||||
ImplBitmap::ImplBitmap( const CanvasSharedPtr& rParentCanvas,
|
||||
@@ -110,6 +107,5 @@ namespace cppcanvas
|
||||
return mxBitmap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
ImplBitmapCanvas::ImplBitmapCanvas( const uno::Reference< rendering::XBitmapCanvas >& rCanvas ) :
|
||||
ImplCanvas( rCanvas ),
|
||||
@@ -57,6 +55,5 @@ namespace cppcanvas
|
||||
return BitmapCanvasSharedPtr( new ImplBitmapCanvas( *this ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -31,9 +31,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
|
||||
ImplCanvas::ImplCanvas( const uno::Reference< rendering::XCanvas >& xCanvas ) :
|
||||
@@ -114,6 +112,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -25,9 +25,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
ImplCustomSprite::ImplCustomSprite( const uno::Reference< rendering::XSpriteCanvas >& rParentCanvas,
|
||||
const uno::Reference< rendering::XCustomSprite >& rSprite,
|
||||
@@ -68,6 +66,5 @@ namespace cppcanvas
|
||||
return mpLastCanvas;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -32,9 +32,7 @@
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
ImplPolyPolygon::ImplPolyPolygon( const CanvasSharedPtr& rParentCanvas,
|
||||
const uno::Reference< rendering::XPolyPolygon2D >& rPolyPoly ) :
|
||||
@@ -133,6 +131,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
|
||||
ImplSprite::ImplSprite( const uno::Reference< rendering::XSpriteCanvas >& rParentCanvas,
|
||||
@@ -188,6 +186,5 @@ namespace cppcanvas
|
||||
mxSprite->setPriority(fPriority);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
namespace cppcanvas
|
||||
{
|
||||
namespace internal
|
||||
namespace cppcanvas::internal
|
||||
{
|
||||
ImplSpriteCanvas::TransformationArbiter::TransformationArbiter() :
|
||||
maTransformation()
|
||||
@@ -107,6 +105,5 @@ namespace cppcanvas
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user