diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-30 10:35:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-30 12:44:36 +0000 |
commit | 05abd8b205e9d51af41c31ab8a7a2574ee885532 (patch) | |
tree | c91c3f59437e9ffb5b06c6992988e626a144e7db | |
parent | fb6ec3acbe6d6b9788d068182f8bc3a36d70a91c (diff) |
chisel off some more unused code
Change-Id: I62cafc8e10e9c9dab3fde1785b826ba8ff68569f
-rw-r--r-- | chart2/source/inc/OPropertySet.hxx | 3 | ||||
-rw-r--r-- | chart2/source/tools/OPropertySet.cxx | 5 | ||||
-rw-r--r-- | forms/source/component/EventThread.cxx | 8 | ||||
-rw-r--r-- | forms/source/component/EventThread.hxx | 1 | ||||
-rw-r--r-- | include/oox/core/filterdetect.hxx | 2 | ||||
-rw-r--r-- | include/vcl/menu.hxx | 1 | ||||
-rw-r--r-- | oox/source/core/filterdetect.cxx | 11 | ||||
-rw-r--r-- | oox/source/docprop/docprophandler.cxx | 10 | ||||
-rw-r--r-- | oox/source/docprop/docprophandler.hxx | 2 | ||||
-rw-r--r-- | reportdesign/inc/RptObject.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/RptObject.cxx | 26 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/DesignView.hxx | 3 | ||||
-rw-r--r-- | reportdesign/source/ui/report/DesignView.cxx | 5 | ||||
-rw-r--r-- | sw/inc/viscrs.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 5 | ||||
-rw-r--r-- | unusedcode.easy | 15 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 4 |
17 files changed, 0 insertions, 106 deletions
diff --git a/chart2/source/inc/OPropertySet.hxx b/chart2/source/inc/OPropertySet.hxx index 1ea2c64d03f1..89458e6de618 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 09a5686cf6e3..5703a2573d93 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 c99443a53624..47a192927f8d 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 4d8ffaccda30..b152c7322ec5 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 6a8a44eb3404..5fbcdaf94b24 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 8bd9c77a2b27..a5a1ec48c5bb 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 936180d846ca..6fc8951001bb 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 fb3b42eb8644..428ecd58fd6e 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 2d5a48a1311d..e73a474ecdc3 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 0729cc1f2047..bb61305240cb 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 f40b8b820c94..58e9135ae7c2 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 25142933680d..c44b67abc966 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 53b5fcf6f33f..6e71fa652d81 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 d4183af7c1a6..1d364e000f40 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 fadb3e81b962..9489cba6fc04 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 336374e606f9..51eea3a0d926 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 81d031ee1bed..30b8cdc96806 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 ); |