[Libreoffice-commits] core.git: Branch 'feature/drawinglayercore' - 2 commits - svgio/source

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Sat Oct 17 19:57:47 UTC 2020


 svgio/source/svgreader/svgcharacternode.cxx |   14 --------------
 svgio/source/svgreader/svgvisitor.cxx       |    4 ----
 2 files changed, 18 deletions(-)

New commits:
commit 01fca0f591c4efbfe702c1d3ab5c61802617c270
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sat Oct 17 21:56:16 2020 +0200
Commit:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Sat Oct 17 21:56:16 2020 +0200

    remove left-over printf
    
    Change-Id: I2327cfbd8e291820453b4784badfdbc0a6314355

diff --git a/svgio/source/svgreader/svgvisitor.cxx b/svgio/source/svgreader/svgvisitor.cxx
index 1f2ea975c4ca..14d645ecc5d9 100644
--- a/svgio/source/svgreader/svgvisitor.cxx
+++ b/svgio/source/svgreader/svgvisitor.cxx
@@ -46,10 +46,6 @@ void SvgDrawVisitor::visit(svgio::svgreader::SvgNode const& rNode)
             if (rGNode.getTransform() != nullptr)
             {
                 basegfx::B2DHomMatrix rMatrix = *rGNode.getTransform();
-
-                printf("G [%f %f %f - %f %f %f - %f %f %f]\n", rMatrix.get(0, 0), rMatrix.get(0, 1),
-                       rMatrix.get(0, 2), rMatrix.get(1, 0), rMatrix.get(1, 1), rMatrix.get(1, 2),
-                       rMatrix.get(2, 0), rMatrix.get(2, 1), rMatrix.get(2, 2));
             }
         }
         break;
commit b971ade80c767a0a8ff6ae7cd02665c1a4d5213f
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sat Oct 17 21:55:12 2020 +0200
Commit:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Sat Oct 17 21:55:12 2020 +0200

    remove unneeded namespace re-declarations
    
    Change-Id: I4c90a1548f56cbc5fdeb2824a5eb47bb669c4b4f

diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 419a887cc55f..457039e1ba82 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -143,11 +143,6 @@ namespace svgio::svgreader
             }
         }
 
-} // end of namespace svgio::svgreader
-
-
-namespace svgio::svgreader
-{
         namespace {
 
         class localTextBreakupHelper : public drawinglayer::primitive2d::TextBreakupHelper
@@ -188,11 +183,6 @@ namespace svgio::svgreader
             return true;
         }
 
-} // end of namespace svgio::svgreader
-
-
-namespace svgio::svgreader
-{
         SvgCharacterNode::SvgCharacterNode(
             SvgDocument& rDocument,
             SvgNode* pParent,
@@ -567,11 +557,7 @@ namespace svgio::svgreader
             }
         }
 
-} // end of namespace svgio::svgreader
-
 
-namespace svgio::svgreader
-{
         SvgTextPosition::SvgTextPosition(
             SvgTextPosition* pParent,
             const InfoProvider& rInfoProvider,


More information about the Libreoffice-commits mailing list