This patch removes unused code as listed in unusedcode.easy
From 038875906820927ecb026f16db40ab3621e8a58d Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Mon, 27 Feb 2012 20:07:47 +0100
Subject: [PATCH] Remove unused code in BiffObjLineModel.
---
oox/inc/oox/xls/drawingmanager.hxx | 3 ---
oox/source/xls/drawingmanager.cxx | 5 -----
unusedcode.easy | 1 -
3 files changed, 0 insertions(+), 9 deletions(-)
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 b5090c1..f6637a4 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1070,7 +1070,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)
--
1.7.7.6
Context
- [PATCH] Remove unused code in BiffObjLineModel · Santiago Martinez
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.