diff options
Diffstat (limited to 'reportdesign/source/ui/dlg/Navigator.cxx')
-rw-r--r-- | reportdesign/source/ui/dlg/Navigator.cxx | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx index 02fe768a4f91..30c511bb54db 100644 --- a/reportdesign/source/ui/dlg/Navigator.cxx +++ b/reportdesign/source/ui/dlg/Navigator.cxx @@ -128,15 +128,13 @@ class NavigatorTree : public ::cppu::BaseMutex protected: // OPropertyChangeListener - virtual void _propertyChanged(const beans::PropertyChangeEvent& _rEvent) throw( uno::RuntimeException) override; + virtual void _propertyChanged(const beans::PropertyChangeEvent& _rEvent) override; // OContainerListener - virtual void _elementInserted( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException, std::exception) override; - virtual void _elementRemoved( const container::ContainerEvent& Event ) - throw (uno::RuntimeException, std::exception) override; - virtual void _elementReplaced( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException, std::exception) override; - virtual void _disposing(const lang::EventObject& _rSource) - throw (uno::RuntimeException, std::exception) override; + virtual void _elementInserted( const container::ContainerEvent& _rEvent ) override; + virtual void _elementRemoved( const container::ContainerEvent& Event ) override; + virtual void _elementReplaced( const container::ContainerEvent& _rEvent ) override; + virtual void _disposing(const lang::EventObject& _rSource) override; }; enum DROP_ACTION { DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE }; @@ -163,11 +161,10 @@ protected: virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& _rEvt ) override; // OSelectionChangeListener - virtual void _disposing(const lang::EventObject& _rSource) - throw (uno::RuntimeException, std::exception) override; + virtual void _disposing(const lang::EventObject& _rSource) override; // OPropertyChangeListener - virtual void _propertyChanged(const beans::PropertyChangeEvent& _rEvent) throw( uno::RuntimeException) override; + virtual void _propertyChanged(const beans::PropertyChangeEvent& _rEvent) override; // OContainerListener Helper void _elementInserted( const container::ContainerEvent& _rEvent ); @@ -182,7 +179,7 @@ public: DECL_LINK(OnEntrySelDesel, SvTreeListBox*, void); DECL_LINK( OnDropActionTimer, Timer*, void ); - virtual void _selectionChanged( const lang::EventObject& aEvent ) throw (uno::RuntimeException) override; + virtual void _selectionChanged( const lang::EventObject& aEvent ) override; // ITraverseReport virtual void traverseReport(const uno::Reference< report::XReportDefinition>& _xReport) override; @@ -461,7 +458,7 @@ IMPL_LINK_NOARG(NavigatorTree, OnEntrySelDesel, SvTreeListBox*, void) } } -void NavigatorTree::_selectionChanged( const lang::EventObject& aEvent ) throw (uno::RuntimeException) +void NavigatorTree::_selectionChanged( const lang::EventObject& aEvent ) { m_pSelectionListener->lock(); uno::Reference< view::XSelectionSupplier> xSelectionSupplier(aEvent.Source,uno::UNO_QUERY); @@ -641,7 +638,7 @@ void NavigatorTree::traverseDetail(const uno::Reference< report::XSection>& _xSe traverseSection(_xSection,pParent,RID_SVXBMP_ICON_DETAIL); } -void NavigatorTree::_propertyChanged(const beans::PropertyChangeEvent& _rEvent) throw( uno::RuntimeException) +void NavigatorTree::_propertyChanged(const beans::PropertyChangeEvent& _rEvent) { uno::Reference< report::XReportDefinition> xReport(_rEvent.Source,uno::UNO_QUERY); if ( xReport.is() ) @@ -730,7 +727,6 @@ void NavigatorTree::_elementReplaced( const container::ContainerEvent& _rEvent ) } void NavigatorTree::_disposing(const lang::EventObject& _rSource) - throw (uno::RuntimeException, std::exception) { removeEntry(find(_rSource.Source)); } @@ -794,7 +790,7 @@ NavigatorTree::UserData::~UserData() } // OPropertyChangeListener -void NavigatorTree::UserData::_propertyChanged(const beans::PropertyChangeEvent& _rEvent) throw( uno::RuntimeException) +void NavigatorTree::UserData::_propertyChanged(const beans::PropertyChangeEvent& _rEvent) { SvTreeListEntry* pEntry = m_pTree->find(_rEvent.Source); OSL_ENSURE(pEntry,"No entry could be found! Why not!"); @@ -838,24 +834,22 @@ void NavigatorTree::UserData::_propertyChanged(const beans::PropertyChangeEvent& {} } -void NavigatorTree::UserData::_elementInserted( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException, std::exception) +void NavigatorTree::UserData::_elementInserted( const container::ContainerEvent& _rEvent ) { m_pTree->_elementInserted( _rEvent ); } void NavigatorTree::UserData::_elementRemoved( const container::ContainerEvent& _rEvent ) - throw (uno::RuntimeException, std::exception) { m_pTree->_elementRemoved( _rEvent ); } -void NavigatorTree::UserData::_elementReplaced( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException, std::exception) +void NavigatorTree::UserData::_elementReplaced( const container::ContainerEvent& _rEvent ) { m_pTree->_elementReplaced( _rEvent ); } void NavigatorTree::UserData::_disposing(const lang::EventObject& _rSource) - throw (uno::RuntimeException, std::exception) { m_pTree->_disposing( _rSource ); } |