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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 30 09:06:28 UTC 2019


 filter/source/svg/SOTranscoder.java |   36 ------------------------------------
 1 file changed, 36 deletions(-)

New commits:
commit 9aef8a8185897b502a85244afc93ad9ead97a1a8
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Fri Nov 29 21:53:09 2019 +0100
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Nov 30 10:05:21 2019 +0100

    SOTranscoder.java is unused (filter/svg)
    
    Since 90f5ce36231551e226d4b3e2fefaa8493af692ac
    svg-import-filter.diff: SVG Import Filter implementation in filter module
    2010-09-14
    
    Change-Id: Ic68e0e0c32fa26cccb0cb2092e5079ac74747794
    Reviewed-on: https://gerrit.libreoffice.org/84093
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/filter/source/svg/SOTranscoder.java b/filter/source/svg/SOTranscoder.java
deleted file mode 100644
index 691d6ced7844..000000000000
--- a/filter/source/svg/SOTranscoder.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-import java.io.*;
-import org.apache.batik.transcoder.image.PNGTranscoder;
-import org.apache.batik.transcoder.TranscoderInput;
-import org.apache.batik.transcoder.TranscoderOutput;
-
-public class SOTranscoder
-{
-    public static void main(String [] args) throws Exception
-    {
-        PNGTranscoder   aTranscoder = new PNGTranscoder();
-        OutputStream    aOStm = new FileOutputStream( args[ 1 ] );
-
-        aTranscoder.transcode( new TranscoderInput( new File( args[ 0 ] ).toURI().toURL().toString() ), new TranscoderOutput( aOStm ) );
-
-        aOStm.flush();
-        aOStm.close();
-    }
-}


More information about the Libreoffice-commits mailing list