[Libreoffice-commits] core.git: include/drawinglayer

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Sun May 10 07:10:45 UTC 2020


 include/drawinglayer/primitive2d/textprimitive2d.hxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit b513686c11b3c50055a3182f20dc6ed4ea0ca40c
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Fri May 8 21:49:50 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sun May 10 09:10:10 2020 +0200

    drawinglayer: clean-up namespaces in textprimitive2d.hxx
    
    Change-Id: I2610cfeb7e1104440b19f53987bee542eefcf989
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93892
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/drawinglayer/primitive2d/textprimitive2d.hxx b/include/drawinglayer/primitive2d/textprimitive2d.hxx
index ad14cb075496..22ff79a69d6e 100644
--- a/include/drawinglayer/primitive2d/textprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textprimitive2d.hxx
@@ -32,10 +32,8 @@
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 
 
-namespace drawinglayer
+namespace drawinglayer::primitive2d
 {
-    namespace primitive2d
-    {
         /** TextSimplePortionPrimitive2D class
 
             This is the basic primitive for representing a text portion. It contains
@@ -181,8 +179,7 @@ namespace drawinglayer
         /// small helper to have a compare operator for Locale
         bool DRAWINGLAYER_DLLPUBLIC LocalesAreEqual(const css::lang::Locale& rA, const css::lang::Locale& rB);
 
-    } // end of namespace primitive2d
-} // end of namespace drawinglayer
+} // end of namespace drawinglayer::primitive2d
 
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list