basegfx: move ImplB2DPolyPolygon inside basegfx namespace

also remove unneeded typedef

Change-Id: I24fd31ff9da579260f1889ed87065f95dcfd1e23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134377
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Tomaž Vajngerl
2022-05-16 17:09:22 +02:00
committed by Tomaž Vajngerl
parent 9e2391561d
commit ed6d83dfbc
2 changed files with 5 additions and 12 deletions
+3 -3
View File
@@ -27,6 +27,9 @@
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/utils/systemdependentdata.hxx>
namespace basegfx
{
class ImplB2DPolyPolygon
{
basegfx::B2DPolygonVector maPolygons;
@@ -197,9 +200,6 @@ public:
}
};
namespace basegfx
{
static o3tl::cow_wrapper<ImplB2DPolyPolygon> DEFAULT;
B2DPolyPolygon::B2DPolyPolygon() :
+2 -9
View File
@@ -28,22 +28,15 @@
#include <basegfx/basegfxdllapi.h>
#include <basegfx/polygon/b2dpolygon.hxx>
class ImplB2DPolyPolygon;
namespace basegfx
{
class B2DHomMatrix;
}
class ImplB2DPolyPolygon;
namespace basegfx
{
class BASEGFX_DLLPUBLIC B2DPolyPolygon
{
public:
typedef o3tl::cow_wrapper< ImplB2DPolyPolygon > ImplType;
private:
ImplType mpPolyPolygon;
o3tl::cow_wrapper<ImplB2DPolyPolygon> mpPolyPolygon;
public:
B2DPolyPolygon();