chart2/source/inc/OPropertySet.hxx | 3 --- chart2/source/tools/OPropertySet.cxx | 5 ----- forms/source/component/EventThread.cxx | 8 -------- forms/source/component/EventThread.hxx | 1 - include/oox/core/filterdetect.hxx | 2 -- include/vcl/menu.hxx | 1 - oox/source/core/filterdetect.cxx | 11 ----------- oox/source/docprop/docprophandler.cxx | 10 ---------- oox/source/docprop/docprophandler.hxx | 2 -- reportdesign/inc/RptObject.hxx | 3 --- reportdesign/source/core/sdr/RptObject.cxx | 26 -------------------------- reportdesign/source/ui/inc/DesignView.hxx | 3 --- reportdesign/source/ui/report/DesignView.cxx | 5 ----- sw/inc/viscrs.hxx | 2 -- sw/source/core/crsr/viscrs.cxx | 5 ----- unusedcode.easy | 15 --------------- vcl/source/window/menu.cxx | 4 ---- 17 files changed, 106 deletions(-)
New commits: commit 05abd8b205e9d51af41c31ab8a7a2574ee885532 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Jan 30 10:35:51 2015 +0000 chisel off some more unused code Change-Id: I62cafc8e10e9c9dab3fde1785b826ba8ff68569f diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx index 1ea2c64..89458e6 100644 --- a/chart2/source/inc/OPropertySet.hxx +++ b/chart2/source/inc/OPropertySet.hxx @@ -150,9 +150,6 @@ protected: */ virtual void firePropertyChangeEvent(); - /// call this when a derived component is disposed - void disposePropertySet(); - // Interfaces // ____ XInterface ____ diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx index 09a5686..5703a25 100644 --- a/chart2/source/tools/OPropertySet.cxx +++ b/chart2/source/tools/OPropertySet.cxx @@ -74,11 +74,6 @@ void OPropertySet::SetNewValuesExplicitlyEvenIfTheyEqualDefault() OPropertySet::~OPropertySet() {} -void OPropertySet::disposePropertySet() -{ - m_pImplProperties.reset( 0 ); -} - Any SAL_CALL OPropertySet::queryInterface( const uno::Type& aType ) throw (uno::RuntimeException, std::exception) { diff --git a/forms/source/component/EventThread.cxx b/forms/source/component/EventThread.cxx index c99443a..47a192927 100644 --- a/forms/source/component/EventThread.cxx +++ b/forms/source/component/EventThread.cxx @@ -145,14 +145,6 @@ void OComponentEventThread::implTerminated( ) release( ); } -void SAL_CALL OComponentEventThread::kill() -{ - OComponentEventThread_TBASE::terminate(); - OComponentEventThread_TBASE::join(); - - implTerminated( ); -} - void SAL_CALL OComponentEventThread::onTerminated() { OComponentEventThread_TBASE::onTerminated(); diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index 4d8ffac..b152c73 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -65,7 +65,6 @@ protected: // XThread virtual void SAL_CALL run() SAL_OVERRIDE; - void SAL_CALL kill(); virtual void SAL_CALL onTerminated() SAL_OVERRIDE; // The following method is called to duplicate the Event while respecting it's type. diff --git a/include/oox/core/filterdetect.hxx b/include/oox/core/filterdetect.hxx index 6a8a44e..5fbcdaf 100644 --- a/include/oox/core/filterdetect.hxx +++ b/include/oox/core/filterdetect.hxx @@ -66,8 +66,6 @@ public: virtual ::com::sun::star::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext( sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& Namespace, const OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL characters( const OUString& aChars ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException); - void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException); private: void parseRelationship( const AttributeList& rAttribs ); diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 8bd9c77..a5a1ec4 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -217,7 +217,6 @@ public: void Deactivate(); virtual void Highlight(); virtual void Select(); - void RequestHelp( const HelpEvent& rHEvt ); void InsertItem( sal_uInt16 nItemId, const OUString& rStr, MenuItemBits nItemBits = MenuItemBits::NONE, diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx index 936180d..6fc8951 100644 --- a/oox/source/core/filterdetect.cxx +++ b/oox/source/core/filterdetect.cxx @@ -143,17 +143,6 @@ void SAL_CALL FilterDetectDocHandler::characters( const OUString& /*aChars*/ ) { } -void SAL_CALL FilterDetectDocHandler::ignorableWhitespace( const OUString& /*aWhitespaces*/ ) - throw (SAXException, RuntimeException) -{ -} - -void SAL_CALL FilterDetectDocHandler::processingInstruction( - const OUString& /*aTarget*/, const OUString& /*aData*/ ) - throw (SAXException, RuntimeException) -{ -} - void FilterDetectDocHandler::parseRelationship( const AttributeList& rAttribs ) { OUString aType = rAttribs.getString( XML_Type, OUString() ); diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx index fb3b42e..428ecd5 100644 --- a/oox/source/docprop/docprophandler.cxx +++ b/oox/source/docprop/docprophandler.cxx @@ -652,16 +652,6 @@ void SAL_CALL OOXMLDocPropHandler::characters( const OUString& aChars ) } } -void SAL_CALL OOXMLDocPropHandler::ignorableWhitespace( const OUString& ) - throw (xml::sax::SAXException, uno::RuntimeException) -{ -} - -void SAL_CALL OOXMLDocPropHandler::processingInstruction( const OUString&, const OUString& ) - throw (xml::sax::SAXException, uno::RuntimeException) -{ -} - } // namespace docprop } // namespace oox diff --git a/oox/source/docprop/docprophandler.hxx b/oox/source/docprop/docprophandler.hxx index 2d5a48a..e73a474 100644 --- a/oox/source/docprop/docprophandler.hxx +++ b/oox/source/docprop/docprophandler.hxx @@ -79,8 +79,6 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& Namespace, const OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL characters( const OUString& aChars ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException); - void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException); }; diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx index 0729cc1..bb61305 100644 --- a/reportdesign/inc/RptObject.hxx +++ b/reportdesign/inc/RptObject.hxx @@ -161,7 +161,6 @@ public: virtual ~OCustomShape(); - sal_Int32 GetStep() const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent() SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoShape() SAL_OVERRIDE; @@ -208,7 +207,6 @@ public: virtual ~OOle2Obj(); - sal_Int32 GetStep() const; virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent() SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoShape() SAL_OVERRIDE; @@ -254,7 +252,6 @@ protected: public: TYPEINFO_OVERRIDE(); - sal_Int32 GetStep() const; virtual void _propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; /** creates the m_xMediator when it doesn't already exist. diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index f40b8b8..58e9135 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -507,14 +507,6 @@ void OCustomShape::SetSnapRectImpl(const Rectangle& _rRect) SetSnapRect( _rRect ); } -sal_Int32 OCustomShape::GetStep() const -{ - // get step property - sal_Int32 nStep = 0; - OSL_FAIL("Who called me!"); - return nStep; -} - void OCustomShape::NbcMove( const Size& rSize ) { if ( m_bIsListening ) @@ -691,15 +683,6 @@ void OUnoObject::SetSnapRectImpl(const Rectangle& _rRect) SetSnapRect( _rRect ); } -sal_Int32 OUnoObject::GetStep() const -{ - // get step property - sal_Int32 nStep = 0; - OSL_FAIL("Who called me!"); - return nStep; -} - - void OUnoObject::NbcMove( const Size& rSize ) { @@ -987,15 +970,6 @@ void OOle2Obj::SetSnapRectImpl(const Rectangle& _rRect) SetSnapRect( _rRect ); } -sal_Int32 OOle2Obj::GetStep() const -{ - // get step property - sal_Int32 nStep = 0; - OSL_FAIL("Who called me!"); - return nStep; -} - - void OOle2Obj::NbcMove( const Size& rSize ) { diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx index 2514293..c44b67a 100644 --- a/reportdesign/source/ui/inc/DesignView.hxx +++ b/reportdesign/source/ui/inc/DesignView.hxx @@ -105,9 +105,6 @@ namespace rptui virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE; virtual void GetFocus() SAL_OVERRIDE; - // set the view readonly or not - void setReadOnly(bool _bReadOnly); - virtual void initialize() SAL_OVERRIDE; inline OReportController& getController() const { return m_rReportController; } diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx index 53b5fcf..6e71fa6 100644 --- a/reportdesign/source/ui/report/DesignView.cxx +++ b/reportdesign/source/ui/report/DesignView.cxx @@ -264,11 +264,6 @@ void ODesignView::resizeDocumentView(Rectangle& _rPlayground) } -// set the view readonly or not -void ODesignView::setReadOnly(bool /*_bReadOnly*/) -{ -} - IMPL_LINK_NOARG(ODesignView, MarkTimeout) { if ( m_pPropWin && m_pPropWin->IsVisible() ) diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index d4183af..1d364e0 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -71,8 +71,6 @@ class SwSelPaintRects : public SwRects const SwCrsrShell* pCShell; - void Paint( const Rectangle& rRect ); - #if HAVE_FEATURE_DESKTOP sdr::overlay::OverlayObject* mpCursorOverlay; diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index fadb3e8..9489cba 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -448,11 +448,6 @@ void SwSelPaintRects::Invalidate( const SwRect& rRect ) } } -void SwSelPaintRects::Paint( const Rectangle& /*rRect*/ ) -{ - // nothing to do with overlays -} - // check current MapMode of the shell and set possibly the static members. // Optional set the parameters pX, pY void SwSelPaintRects::Get1PixelInLogic( const SwViewShell& rSh, diff --git a/unusedcode.easy b/unusedcode.easy index 336374e..51eea3a 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -7,7 +7,6 @@ Interceptor::removeEventListener(com::sun::star::uno::Reference<com::sun::star:: LineListBox::Clear() LineListBox::InsertEntry(rtl::OUString const&, int) LineListBox::RemoveEntry(int) -Menu::RequestHelp(HelpEvent const&) OCommonEmbeddedObject::getImplementationId() OOoEmbeddedObjectFactory::createInstanceLinkUserInit(com::sun::star::uno::Sequence<signed char> const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::embed::XStorage> const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) OpenGLContext::init(_XDisplay*, unsigned long, unsigned int, unsigned int, int) @@ -86,9 +85,6 @@ SvpSalInstance::PostedEventsInQueue() SvtListener::IsListening(SvtBroadcaster&) const SvxColorTabPage::GetPropertyList(XPropertyListType) SvxColumnItem::GetValueText() const -SvxDoubleItem::GetMax() const -SvxDoubleItem::GetMin() const -SvxDoubleItem::GetUnit() const SvxDummyTextSource::SetNotifyHdl(Link const&) SvxFontListBox::GetSelectEntry() const SvxFontWorkDialog::Zoom() @@ -101,7 +97,6 @@ SvxOpenGLObject::getRenderer() SvxOpenGLObject::setRenderer(IOpenGLRenderer*) SvxPagePosSizeItem::GetValueText() const SvxRotateModeItem::GetValueText(unsigned short) const -SwSelPaintRects::Paint(Rectangle const&) Test::testCopyPasteSkipEmptyConditionalFormatting() Test::testPerf() Test::testSharedFormulaMoveBlock() @@ -265,19 +260,9 @@ dbtools::FormattedColumnValue::getColumnUpdate() const dbtools::FormattedColumnValue::getFieldType() const dbtools::FormattedColumnValue::getFormatKey() const dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&) -frm::OComponentEventThread::kill() 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::core::FilterDetectDocHandler::ignorableWhitespace(rtl::OUString const&) -oox::core::FilterDetectDocHandler::processingInstruction(rtl::OUString const&, rtl::OUString const&) -oox::docprop::OOXMLDocPropHandler::ignorableWhitespace(rtl::OUString const&) -oox::docprop::OOXMLDocPropHandler::processingInstruction(rtl::OUString const&, rtl::OUString const&) oox::drawingml::TextListStyle::dump() const -property::OPropertySet::disposePropertySet() -rptui::OCustomShape::GetStep() const -rptui::ODesignView::setReadOnly(bool) -rptui::OOle2Obj::GetStep() const -rptui::OUnoObject::GetStep() const sc::CLBuildKernelThread::CLBuildKernelThread() sc::CLBuildKernelThread::consume() sc::CLBuildKernelThread::finish() diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 81d031e..30b8cdc 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -326,10 +326,6 @@ void Menu::ImplSelectWithStart( Menu* pSMenu ) } #endif -void Menu::RequestHelp( const HelpEvent& ) -{ -} - void Menu::ImplCallEventListeners( sal_uLong nEvent, sal_uInt16 nPos ) { ImplMenuDelData aDelData( this );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits