summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-27 20:07:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-02-28 14:01:00 +0000
commitd4c467f7d37d47a798ac3880ad30ceca6e60ea8c (patch)
tree280111a55571f0f968d9e4a9352f8a7bf1f01a68
parent5279616d50b0394e8ec6d8e2109471ca649412b7 (diff)
Remove unused code in BiffObjLineModel.
-rw-r--r--oox/inc/oox/xls/drawingmanager.hxx3
-rw-r--r--oox/source/xls/drawingmanager.cxx5
-rwxr-xr-xunusedcode.easy1
3 files changed, 0 insertions, 9 deletions
diff --git a/oox/inc/oox/xls/drawingmanager.hxx b/oox/inc/oox/xls/drawingmanager.hxx
index 4ec80d741036..758c60ef301b 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 d8cf3b1ff450..afadd1f7464f 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 b7e4e9232670..14cd110e2a86 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)