[Libreoffice-commits] core.git: hwpfilter/source unusedcode.easy

Juergen Funk juergen.funk_ml at cib.de
Mon Dec 7 06:16:17 PST 2015


 hwpfilter/source/hbox.cxx |    6 ------
 hwpfilter/source/hbox.h   |    6 ------
 unusedcode.easy           |    1 -
 3 files changed, 13 deletions(-)

New commits:
commit a27f2397f091d37cb9cf1ab98b0e96ca8dfa7406
Author: Juergen Funk <juergen.funk_ml at cib.de>
Date:   Sun Dec 6 14:26:51 2015 +0100

    unused Picture::Type()
    
    and removed unused TxtBox::Type(), too
    
    Change-Id: I4a1d7f1cbbc5bb4d929fe7420db8f827dd8b142d
    Reviewed-on: https://gerrit.libreoffice.org/20424
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index db247fa..fb3037d 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -405,12 +405,6 @@ Picture::~Picture()
 }
 
 
-int Picture::Type()
-{
-    return pictype;
-}
-
-
 // line(14)
 // hidden(15)
 Hidden::~Hidden()
diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h
index 8e5dcaa..f8fbd6e 100644
--- a/hwpfilter/source/hbox.h
+++ b/hwpfilter/source/hbox.h
@@ -380,11 +380,6 @@ struct TxtBox: public FBox
  * @returns Count of cell.
  */
     int NCell()   { return nCell; }
-/**
- * This is one of table, text-box, equalizer and button
- * @returns Type of this object.
- */
-    int Type()    { return type;  }
 
     virtual bool Read(HWPFile &hwpf) override;
 };
@@ -654,7 +649,6 @@ struct Picture: public FBox
     Picture();
     virtual ~Picture();
 
-    int   Type    ();
     virtual bool Read    (HWPFile &hwpf) override;
 };
 
diff --git a/unusedcode.easy b/unusedcode.easy
index 44c213d..fd9047b 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -17,7 +17,6 @@ OutputDevice::LogicToPixel(basegfx::B2DPolygon const&) const
 OutputDevice::LogicToPixel(basegfx::B2DPolygon const&, MapMode const&) const
 OutputDevice::LogicToPixel(vcl::Region const&, MapMode const&) const
 OutputDevice::PixelToLogic(vcl::Region const&, MapMode const&) const
-Picture::Type()
 Primitive2dXmlDump::filterActionType(unsigned short, bool)
 Primitive2dXmlDump::filterAllActionTypes()
 SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)


More information about the Libreoffice-commits mailing list