basegfx/source/polygon/b2dpolypolygon.cxx  |    6 +++---
 include/basegfx/polygon/b2dpolypolygon.hxx |   11 ++---------
 2 files changed, 5 insertions(+), 12 deletions(-)

New commits:
commit ed6d83dfbc590b9782a0699f53bc36f548ae3ec2
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Sun May 15 22:45:59 2022 +0900
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Mon May 16 17:09:22 2022 +0200

    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 <qui...@gmail.com>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx 
b/basegfx/source/polygon/b2dpolypolygon.cxx
index 4fd12bde4a10..4a81a82c4c71 100644
--- a/basegfx/source/polygon/b2dpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dpolypolygon.cxx
@@ -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() :
diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx 
b/include/basegfx/polygon/b2dpolypolygon.hxx
index 010815c8784e..f1420edef79a 100644
--- a/include/basegfx/polygon/b2dpolypolygon.hxx
+++ b/include/basegfx/polygon/b2dpolypolygon.hxx
@@ -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();

Reply via email to