[Libreoffice-commits] core.git: include/tools tools/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sat Mar 1 03:01:32 PST 2014


 include/tools/resmgr.hxx   |    2 ++
 tools/source/rc/resmgr.cxx |    6 ------
 unusedcode.easy            |    7 ++++++-
 3 files changed, 8 insertions(+), 7 deletions(-)

New commits:
commit 875129a8d4eca6b8ac184c4ae3539ffce8194e39
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Mar 1 10:59:01 2014 +0000

    callcatcher: update unused code
    
    Change-Id: I429eeb3fc0dd0d0c55612eb482d99ab4ceda2f56

diff --git a/include/tools/resmgr.hxx b/include/tools/resmgr.hxx
index 2aef810..b25cc0a 100644
--- a/include/tools/resmgr.hxx
+++ b/include/tools/resmgr.hxx
@@ -137,8 +137,10 @@ public:
      static ResMgr*     CreateResMgr( const sal_Char* pPrefixName,
                                       LanguageTag aLocale = LanguageTag( LANGUAGE_SYSTEM) );
 
+    #ifdef DBG_UTIL
     /// Test whether resource still exists
     void                TestStack( const Resource * );
+    #endif
 
     /// Check whether resource is available
     bool                IsAvailable( const ResId& rId,
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index ae9cd4c..e56a5d9 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -922,12 +922,6 @@ void ResMgr::TestStack( const Resource* pResObj )
     }
 }
 
-#else
-
-void ResMgr::TestStack( const Resource* )
-{
-}
-
 #endif
 
 bool ResMgr::IsAvailable( const ResId& rId, const Resource* pResObj ) const
diff --git a/unusedcode.easy b/unusedcode.easy
index 86cb448..8043786 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -41,6 +41,8 @@ OutputDevice::PixelToLogic(Region const&, MapMode const&) const
 SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
 ScDocument::CreateFormatTable() const
 ScExtIButton::GetSelected() const
+ScSimpleRefDlg::GetRefString() const
+ScTable::GetCellCount(short) const
 ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 SdrItemBrowser::ForceParent()
@@ -57,6 +59,7 @@ SmFontPickList::Contains(Font const&) const
 SmParser::Insert(rtl::OUString const&, int)
 SotFactory::Find(SvGlobalName const&)
 StyleSettings::SetActiveColor2(Color const&)
+StyleSettings::SetCursorSize(long)
 StyleSettings::SetDeactiveColor2(Color const&)
 StyleSettings::SetFloatTitleHeight(long)
 StyleSettings::SetHideDisabledMenuItems(bool)
@@ -244,9 +247,11 @@ connectivity::sdbcx::OGroup::OGroup(unsigned char)
 drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize() const
 editeng::MisspellRange::MisspellRange()
 editeng::Section::Section()
+formula::DoubleVectorRefToken::GetRequestedArrayLength() const
 formula::FormulaDlg::CheckMatrix()
 formula::FormulaTokenArray::AddString(unsigned short const*)
-formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long)
+formula::SingleVectorRefToken::GetRequestedArrayLength() const
+formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long, unsigned long)
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
 oox::AttributeConversion::decodeDouble(rtl::OUString const&)


More information about the Libreoffice-commits mailing list