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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 23 07:10:32 UTC 2020


 svgio/source/svgreader/svgvisitor.cxx |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit ce35b9480edb331c5f295b83c6132c0e3dee4f78
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sat Oct 17 21:56:16 2020 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Nov 23 08:09:51 2020 +0100

    remove left-over printf
    
    Change-Id: I2327cfbd8e291820453b4784badfdbc0a6314355
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106381
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/svgio/source/svgreader/svgvisitor.cxx b/svgio/source/svgreader/svgvisitor.cxx
index 1f2ea975c4ca..48fc9aa71af4 100644
--- a/svgio/source/svgreader/svgvisitor.cxx
+++ b/svgio/source/svgreader/svgvisitor.cxx
@@ -39,20 +39,6 @@ void SvgDrawVisitor::visit(svgio::svgreader::SvgNode const& rNode)
             static_cast<gfx::DrawRoot*>(mpCurrent.get())->maRectangle = aRange;
         }
         break;
-        case svgio::svgreader::SVGTokenG:
-        {
-            auto const& rGNode = static_cast<svgio::svgreader::SvgGNode 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;
         case svgio::svgreader::SVGTokenRect:
         {
             auto const& rRectNode = static_cast<svgio::svgreader::SvgRectNode const&>(rNode);


More information about the Libreoffice-commits mailing list