bin/findunusedcode | 1 + editeng/source/uno/unotext.cxx | 6 ------ include/editeng/unotext.hxx | 1 - linguistic/source/dicimp.cxx | 12 ------------ linguistic/source/dicimp.hxx | 1 - sc/source/ui/dbgui/validate.cxx | 16 ---------------- sc/source/ui/inc/validate.hxx | 3 --- sw/inc/SwStyleNameMapper.hxx | 2 ++ sw/source/core/doc/SwStyleNameMapper.cxx | 2 ++ unusedcode.easy | 7 +++---- 10 files changed, 8 insertions(+), 43 deletions(-)
New commits: commit f767d4580e455b91506cc43d11783093cead6d6c Author: Caolán McNamara <caol...@redhat.com> Date: Thu Apr 10 09:36:21 2014 +0100 callcatcher: update unused code OAuth2Handler is from libcmis Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f diff --git a/bin/findunusedcode b/bin/findunusedcode index 22727cf..59dbade 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 f0f2391..1c62b37 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 5c4eed6..90a2961 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 ffab959..900a10b 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 1f34748..5c6c259 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 83462fa..344e183 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 c27a52f..8acf4f6 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 44569ca..1159d7a 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 e6807d8..d85a6de 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 2ab755f..ca506a6 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&)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits