This patch removes unused code as listed in unusedcode.easy
From ea73cbfbb2b67f47fabdcde224720a49ada4e47b Mon Sep 17 00:00:00 2001
From: Santiago Martinez <smvar...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to