compact namespace: cppcanvas

Change-Id: I53826803bd7749b7fead5e464e2dc65212d5bb9e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98908
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2020-07-16 15:34:53 +02:00
parent 1ebe85bc1f
commit baed93c802
20 changed files with 28 additions and 90 deletions

View File

@@ -30,10 +30,8 @@ class BitmapEx;
/* Definition of internal::BitmapActionFactory */
namespace cppcanvas
namespace cppcanvas::internal
{
namespace internal
{
struct OutDevState;
/** Creates encapsulated converters between GDIMetaFile and
@@ -58,7 +56,6 @@ namespace cppcanvas
const CanvasSharedPtr&,
const OutDevState& );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -32,9 +32,7 @@ namespace basegfx { class B2DHomMatrix; }
/* Definition of internal::CachedPrimitiveBase class */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
/** Base class providing cached re-rendering, if XCanvas
returns XCachedPrimitive
@@ -79,7 +77,7 @@ namespace cppcanvas
mutable ::basegfx::B2DHomMatrix maLastTransformation;
const bool mbOnlyRedrawWithSameTransform;
};
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -29,9 +29,7 @@ namespace basegfx {
/* Definition of internal::LineActionFactory */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
struct OutDevState;
@@ -50,7 +48,7 @@ namespace cppcanvas
const CanvasSharedPtr&,
const OutDevState& );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -29,9 +29,7 @@ namespace basegfx {
/* Definition of internal::PointActionFactory */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
struct OutDevState;
@@ -55,7 +53,7 @@ namespace cppcanvas
const OutDevState&,
const ::Color& );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -35,9 +35,7 @@ namespace com::sun::star::rendering
/* Definition of internal::PolyPolyActionFactory */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
struct OutDevState;
@@ -78,7 +76,7 @@ namespace cppcanvas
const OutDevState&,
int nTransparency );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -31,9 +31,7 @@ class Color;
/* Definition of internal::TextActionFactory */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
struct OutDevState;
@@ -76,7 +74,6 @@ namespace cppcanvas
const Renderer::Parameters& rParms,
bool bSubsettable );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -15,19 +15,10 @@
#include <basegfx/vector/b2dsize.hxx>
#include <cppcanvas/canvas.hxx>
namespace com
{
namespace sun
{
namespace star
{
namespace rendering
namespace com::sun::star::rendering
{
class XPolyPolygon2D;
}
}
}
}
namespace cppcanvas
{

View File

@@ -35,9 +35,7 @@ class Gradient;
/* Definition of internal::TransparencyGroupActionFactory */
namespace cppcanvas
{
namespace internal
namespace cppcanvas::internal
{
struct OutDevState;
@@ -84,7 +82,7 @@ namespace cppcanvas
const CanvasSharedPtr& rCanvas,
const OutDevState& rState );
}
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */