summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-10 09:36:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-10 09:50:54 +0100
commitf767d4580e455b91506cc43d11783093cead6d6c (patch)
tree0bc606a9167a0fe0760673abc0e84d9222af12d1
parenta7bc9c1e4977bd3430df69287fa0a8377a686c58 (diff)
callcatcher: update unused code
OAuth2Handler is from libcmis Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f
-rwxr-xr-xbin/findunusedcode1
-rw-r--r--editeng/source/uno/unotext.cxx6
-rw-r--r--include/editeng/unotext.hxx1
-rw-r--r--linguistic/source/dicimp.cxx12
-rw-r--r--linguistic/source/dicimp.hxx1
-rw-r--r--sc/source/ui/dbgui/validate.cxx16
-rw-r--r--sc/source/ui/inc/validate.hxx3
-rw-r--r--sw/inc/SwStyleNameMapper.hxx2
-rw-r--r--sw/source/core/doc/SwStyleNameMapper.cxx2
-rw-r--r--unusedcode.easy7
10 files changed, 8 insertions, 43 deletions
diff --git a/bin/findunusedcode b/bin/findunusedcode
index 22727cf1f7a2..59dbade81f74 100755
--- a/bin/findunusedcode
+++ b/bin/findunusedcode
@@ -76,4 +76,5 @@ grep ::.*\( unusedcode.all \
| grep -v ^WPS \
| grep -v WPX \
| grep -v ^WSObject \
+ | grep -v ^OAuth2Handler \
> ../unusedcode.easy
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index f0f239170a9d..1c62b37d6ef0 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -2292,12 +2292,6 @@ sal_Int64 SAL_CALL SvxUnoTextBase::getSomething( const uno::Sequence< sal_Int8 >
}
}
-
-
-SvxUnoText::SvxUnoText( ) throw()
-{
-}
-
SvxUnoText::SvxUnoText( const SvxItemPropertySet* _pSet ) throw()
: SvxUnoTextBase( _pSet )
{
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 5c4eed690912..90a2961d98f4 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -462,7 +462,6 @@ class EDITENG_DLLPUBLIC SvxUnoText : public SvxUnoTextBase,
public ::cppu::OWeakAggObject
{
public:
- SvxUnoText( ) throw();
SvxUnoText( const SvxItemPropertySet* _pSet ) throw();
SvxUnoText( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, ::com::sun::star::uno::Reference < ::com::sun::star::text::XText > xParent ) throw();
SvxUnoText( const SvxUnoText& rText ) throw();
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index ffab959e8752..900a10b781e0 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -182,18 +182,6 @@ sal_Int16 ReadDicVersion( SvStreamPtr &rpStream, sal_uInt16 &nLng, sal_Bool &bNe
return nDicVersion;
}
-DictionaryNeo::DictionaryNeo() :
- aDicEvtListeners( GetLinguMutex() ),
- eDicType (DictionaryType_POSITIVE),
- nLanguage (LANGUAGE_NONE)
-{
- nCount = 0;
- nDicVersion = DIC_VERSION_DONTKNOW;
- bNeedEntries = sal_False;
- bIsModified = bIsActive = sal_False;
- bIsReadonly = sal_False;
-}
-
DictionaryNeo::DictionaryNeo(const OUString &rName,
sal_Int16 nLang, DictionaryType eType,
const OUString &rMainURL,
diff --git a/linguistic/source/dicimp.hxx b/linguistic/source/dicimp.hxx
index 1f3474898088..5c6c25969b94 100644
--- a/linguistic/source/dicimp.hxx
+++ b/linguistic/source/dicimp.hxx
@@ -81,7 +81,6 @@ class DictionaryNeo :
sal_Bool bIsLoadEntries = sal_False);
public:
- DictionaryNeo();
DictionaryNeo(const OUString &rName, sal_Int16 nLang,
::com::sun::star::linguistic2::DictionaryType eType,
const OUString &rMainURL,
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 83462faae305..344e183ea599 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -670,11 +670,6 @@ void ScTPValidationHelp::Init()
pTsbHelp->EnableTriState( false );
}
-sal_uInt16* ScTPValidationHelp::GetRanges()
-{
- return pValueRanges;
-}
-
SfxTabPage* ScTPValidationHelp::Create( Window* pParent,
const SfxItemSet& rArgSet )
{
@@ -745,11 +740,6 @@ void ScTPValidationError::Init()
SelectActionHdl( NULL );
}
-sal_uInt16* ScTPValidationError::GetRanges()
-{
- return pValueRanges;
-}
-
SfxTabPage* ScTPValidationError::Create( Window* pParent,
const SfxItemSet& rArgSet )
{
@@ -930,10 +920,4 @@ bool ScValidationDlg::IsChildFocus()
return false;
}
-
-bool ScValidationDlg::IsAlive()
-{
- return SC_MOD()->IsAliveRefDlg( SLOTID, this );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index c27a52fffdb4..8acf4f601755 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -102,7 +102,6 @@ public:
{
return static_cast<ScValidationDlg *>( SC_MOD()->Find1RefWindow( SLOTID, pAncestor ) );
}
- bool IsAlive();
ScTabViewShell *GetTabViewShell()
{
return m_pTabVwSh;
@@ -277,7 +276,6 @@ public:
virtual ~ScTPValidationHelp();
static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet );
- static sal_uInt16* GetRanges ();
virtual bool FillItemSet ( SfxItemSet& rArgSet ) SAL_OVERRIDE;
virtual void Reset ( const SfxItemSet& rArgSet ) SAL_OVERRIDE;
};
@@ -303,7 +301,6 @@ public:
virtual ~ScTPValidationError();
static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet );
- static sal_uInt16* GetRanges ();
virtual bool FillItemSet ( SfxItemSet& rArgSet ) SAL_OVERRIDE;
virtual void Reset ( const SfxItemSet& rArgSet ) SAL_OVERRIDE;
};
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx
index 44569cadd144..1159d7a5b3e9 100644
--- a/sw/inc/SwStyleNameMapper.hxx
+++ b/sw/inc/SwStyleNameMapper.hxx
@@ -124,7 +124,9 @@ protected:
static const OUString& getNameFromId(sal_uInt16 nId, const OUString &rName,
bool bProgName);
static const NameToIdHash& getHashTable ( SwGetPoolIdFromName, bool bProgName );
+#ifdef _NEED_TO_DEBUG_MAPPING
static void testNameTable( SwGetPoolIdFromName const nFamily, sal_uInt16 const nStartIndex, sal_uInt16 const nEndIndex );
+#endif
public:
// This gets the UI Name from the programmatic name
diff --git a/sw/source/core/doc/SwStyleNameMapper.cxx b/sw/source/core/doc/SwStyleNameMapper.cxx
index e6807d8e59b7..d85a6de2ce82 100644
--- a/sw/source/core/doc/SwStyleNameMapper.cxx
+++ b/sw/source/core/doc/SwStyleNameMapper.cxx
@@ -390,6 +390,7 @@ static void lcl_CheckSuffixAndDelete(OUString & rString)
}
}
+#ifdef _NEED_TO_DEBUG_MAPPING
void SwStyleNameMapper::testNameTable( SwGetPoolIdFromName const nFamily, sal_uInt16 const nStartIndex, sal_uInt16 const nEndIndex )
{
sal_uInt16 nIndex;
@@ -408,6 +409,7 @@ void SwStyleNameMapper::testNameTable( SwGetPoolIdFromName const nFamily, sal_uI
abort();
}
}
+#endif
const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName eFlags, bool bProgName )
{
diff --git a/unusedcode.easy b/unusedcode.easy
index 2ab755f99669..ca506a63be98 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -19,8 +19,7 @@ MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsig
MenuBar::GetMenuBarButtonRectPixel(unsigned short)
MenuBar::RemoveMenuBarButton(unsigned short)
MenuBar::SetMenuBarButtonHighlightHdl(unsigned short, Link const&)
-OAuth2Handler::OAuth2Handler()
-OAuth2Handler::getAccessToken()
+OpenGLContext::getOpenGLWindow()
OutputDevice::GetCanvas() const
OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&)
OutputDevice::LogicToPixel(Region const&, MapMode const&) const
@@ -37,6 +36,7 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SdrItemBrowser::ForceParent()
SdrItemBrowser::SdrItemBrowser(SdrView&)
+SdrOpenGLObj::getOpenGLContext()
SdrTextObj::NbcSetAutoGrowHeight(bool)
SdrTextObj::NbcSetAutoGrowWidth(bool)
SdrTextObj::NbcSetFitToSize(SdrFitToSizeType)
@@ -186,8 +186,8 @@ apitest::XTextField::testGetPresentation()
basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
basegfx::tools::equal(basegfx::B3DPolygon const&, basegfx::B3DPolygon const&, double const&)
+basegfx::unotools::homMatrixFromMatrix(basegfx::B2DHomMatrix&, com::sun::star::geometry::Matrix2D const&)
canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
-chart::GL3DBarChartDialogController::GL3DBarChartDialogController()
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
@@ -210,7 +210,6 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)
std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
-svt::AssignmentPersistentData::getInt32Property(char const*) const
utl::extractTime(com::sun::star::util::DateTime const&, com::sun::star::util::Time&)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
writerfilter::dmapper::SdtHelper::appendToInteropGrabBag(rtl::OUString const&, com::sun::star::uno::Any const&)