This patch removes unused code as listed in unusedcode.easy
From ea73cbfbb2b67f47fabdcde224720a49ada4e47b Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvarela@gmail.com>
Date: Sun, 19 Feb 2012 19:20:54 +0100
Subject: [PATCH] Remove unused code in XclExpName
---
sc/source/filter/excel/xename.cxx | 7 -------
unusedcode.easy | 1 -
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index 0c82a08..cf2f795 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -94,8 +94,6 @@ public:
/** Returns true, if this defined name is volatile. */
bool IsVolatile() const;
- /** Returns true, if this defined name is hidden. */
- bool IsHidden() const;
/** Returns true, if this defined name describes a macro call.
@param bFunc true = Macro function; false = Macro procedure. */
bool IsMacroCall( bool bVBasic, bool bFunc ) const;
@@ -306,11 +304,6 @@ bool XclExpName::IsVolatile() const
return mxTokArr && mxTokArr->IsVolatile();
}
-bool XclExpName::IsHidden() const
-{
- return ::get_flag( mnFlags, EXC_NAME_HIDDEN );
-}
-
bool XclExpName::IsMacroCall( bool bVBasic, bool bFunc ) const
{
return
diff --git a/unusedcode.easy b/unusedcode.easy
index eb5cec5..0142541 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -549,7 +549,6 @@ XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString
XWindowItem::XWindowItem(unsigned short, Window*)
XWindowItem::XWindowItem(unsigned short,
com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&)
XclExpFontBuffer::Insert(ScPatternAttr const&, short, XclExpColorType, bool)
-XclExpName::IsHidden() const
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
XclExpString::SetFormats(std::__debug::vector<XclFormatRun, std::allocator<XclFormatRun> > const&)
XclRoot::GetDatabaseRanges() const
--
1.7.7.6
Context
- [PATCH] Remove unused code in XclExpName · 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.