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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 23 09:36:23 UTC 2020


 drawinglayer/source/primitive2d/textprimitive2d.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e469ba3ba9448283035b95c2b4b7f86360b8d0a9
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Wed Oct 21 20:39:46 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Nov 23 10:35:30 2020 +0100

    move the anonymous namespace into drawinglayer::primitive2d
    
    Change-Id: I66f7e5602c7a47baeadccfe913b9be984f0a5177
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106384
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx
index 1cd145c33839..3e4aabff75b1 100644
--- a/drawinglayer/source/primitive2d/textprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx
@@ -27,6 +27,8 @@
 
 using namespace com::sun::star;
 
+namespace drawinglayer::primitive2d
+{
 namespace
 {
 // adapts fontScale for usage with TextLayouter. Input is rScale which is the extracted
@@ -78,8 +80,6 @@ basegfx::B2DVector getCorrectedScaleAndFontScale(basegfx::B2DVector& rScale)
 }
 } // end of anonymous namespace
 
-namespace drawinglayer::primitive2d
-{
 void TextSimplePortionPrimitive2D::getTextOutlinesAndTransformation(
     basegfx::B2DPolyPolygonVector& rTarget, basegfx::B2DHomMatrix& rTransformation) const
 {


More information about the Libreoffice-commits mailing list