[Libreoffice-commits] .: oox/inc oox/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Tue Feb 28 06:01:11 PST 2012


 oox/inc/oox/xls/drawingmanager.hxx |    3 ---
 oox/source/xls/drawingmanager.cxx  |    5 -----
 unusedcode.easy                    |    1 -
 3 files changed, 9 deletions(-)

New commits:
commit d4c467f7d37d47a798ac3880ad30ceca6e60ea8c
Author: Santiago Martinez <smvarela at gmail.com>
Date:   Mon Feb 27 20:07:47 2012 +0100

    Remove unused code in BiffObjLineModel.

diff --git a/oox/inc/oox/xls/drawingmanager.hxx b/oox/inc/oox/xls/drawingmanager.hxx
index 4ec80d7..758c60e 100644
--- a/oox/inc/oox/xls/drawingmanager.hxx
+++ b/oox/inc/oox/xls/drawingmanager.hxx
@@ -59,9 +59,6 @@ struct BiffObjLineModel
     bool                mbAuto;             /// True = automatic line format.
 
     explicit            BiffObjLineModel();
-
-    /** Returns true, if the line formatting is visible (automatic or explicit). */
-    bool                isVisible() const;
 };
 
 // ============================================================================
diff --git a/oox/source/xls/drawingmanager.cxx b/oox/source/xls/drawingmanager.cxx
index d8cf3b1..afadd1f 100644
--- a/oox/source/xls/drawingmanager.cxx
+++ b/oox/source/xls/drawingmanager.cxx
@@ -191,11 +191,6 @@ BiffObjLineModel::BiffObjLineModel() :
 {
 }
 
-bool BiffObjLineModel::isVisible() const
-{
-    return mbAuto || (mnStyle != BIFF_OBJ_LINE_NONE);
-}
-
 BiffInputStream& operator>>( BiffInputStream& rStrm, BiffObjLineModel& rModel )
 {
     sal_uInt8 nFlags;
diff --git a/unusedcode.easy b/unusedcode.easy
index b7e4e92..14cd110 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1060,7 +1060,6 @@ oox::xls::BiffHelper::calcRkFromDouble(int&, double)
 oox::xls::BiffInputStream::sizeBase() const
 oox::xls::BiffInputStream::skipByteString(bool)
 oox::xls::BiffInputStream::skipUniString()
-oox::xls::BiffObjLineModel::isVisible() const
 oox::xls::BiffOutputStream::BiffOutputStream(oox::BinaryOutputStream&, unsigned short)
 oox::xls::BiffOutputStream::endRecord()
 oox::xls::BiffOutputStream::fill(unsigned char, int, unsigned long)


More information about the Libreoffice-commits mailing list