diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-02 08:58:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 08:38:50 +0200 |
commit | 4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch) | |
tree | 22aa13a8d13f690b8498ec4bdb502d198593fcab /sd | |
parent | d76281864b0e83812c0edf7490b1e8271e89fff5 (diff) |
pass area param to DBG_UNHANDLED_EXCEPTION
and update sallogareas plugin to enforce this
Change-Id: Id0782c8a1f619372e10d931aec3c6a4743a4c86a
Reviewed-on: https://gerrit.libreoffice.org/52249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
19 files changed, 34 insertions, 34 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index c39da4833f0c..8e225173a95f 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1202,7 +1202,7 @@ sal_Int8 SdPageObjsTLB::ExecuteDrop( const ExecuteDropEvent& rEvt ) } catch (css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } if (nRet == DND_ACTION_NONE) diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx index ae6aa3a466bc..32e67427ee58 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx @@ -101,7 +101,7 @@ void ConfigurationControllerBroadcaster::NotifyListeners ( } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } @@ -179,7 +179,7 @@ void ConfigurationControllerBroadcaster::DisposeAndClear() } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } else diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx index 1ae748de445a..4137780bef13 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx @@ -158,7 +158,7 @@ void ConfigurationControllerResourceManager::ActivateResource ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -220,7 +220,7 @@ void ConfigurationControllerResourceManager::DeactivateResource ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } // 5. Notify listeners that the resource is being deactivated. diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index eab30a5bf37c..3689789a22d6 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -179,7 +179,7 @@ void ConfigurationUpdater::UpdateConfiguration() } catch(const RuntimeException &) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } SAL_INFO("sd.fwk", OSL_THIS_FUNC << ": ConfigurationUpdater::UpdateConfiguration)"); @@ -263,7 +263,7 @@ void ConfigurationUpdater::UpdateCore (const ConfigurationClassifier& rClassifie } catch(const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx index f36ee2f77fd4..ed879e090776 100644 --- a/sd/source/ui/framework/factories/PresentationFactory.cxx +++ b/sd/source/ui/framework/factories/PresentationFactory.cxx @@ -101,7 +101,7 @@ PresentationFactory::PresentationFactory ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -200,7 +200,7 @@ void SAL_CALL PresentationFactoryProvider::initialize( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index e30d6bb1c1a5..d1570a0fbb55 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -94,7 +94,7 @@ ModuleController::ModuleController (const Reference<XComponentContext>& rxContex } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index a3c4fd163b21..aff76eeb6dcd 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -241,7 +241,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } return pViewShell; } @@ -258,7 +258,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } return nullptr; } @@ -635,7 +635,7 @@ void FrameworkHelper::HandleModeChangeSlot ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -743,7 +743,7 @@ void FrameworkHelper::UpdateConfiguration() } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } @@ -867,7 +867,7 @@ CallbackCaller::CallbackCaller ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -884,7 +884,7 @@ void CallbackCaller::disposing() } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx index cc2d2259a3b5..b7b3519bfaa4 100644 --- a/sd/source/ui/sidebar/DocumentHelper.cxx +++ b/sd/source/ui/sidebar/DocumentHelper.cxx @@ -230,7 +230,7 @@ SdPage* DocumentHelper::AddMasterPage ( catch(const uno::Exception&) { pClonedMasterPage = nullptr; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } catch(const ::std::exception& e) { diff --git a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx index 25a295305d96..8e1e9163fedd 100644 --- a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx @@ -129,7 +129,7 @@ SdPage* TemplatePageObjectProvider::operator() (SdDrawDocument*) } catch (const uno::RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); pPage = nullptr; } diff --git a/sd/source/ui/slideshow/PaneHider.cxx b/sd/source/ui/slideshow/PaneHider.cxx index b33cc7f2e28c..2c80e67f2f50 100644 --- a/sd/source/ui/slideshow/PaneHider.cxx +++ b/sd/source/ui/slideshow/PaneHider.cxx @@ -76,7 +76,7 @@ PaneHider::PaneHider (const ViewShell& rViewShell, SlideshowImpl* pSlideShow) } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/slidesorter/controller/SlsListener.cxx b/sd/source/ui/slidesorter/controller/SlsListener.cxx index f2342c698b1e..2e7b6623eeab 100644 --- a/sd/source/ui/slidesorter/controller/SlsListener.cxx +++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx @@ -204,7 +204,7 @@ void Listener::ConnectToController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } try { @@ -212,7 +212,7 @@ void Listener::ConnectToController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -253,7 +253,7 @@ void Listener::DisconnectFromController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } mbListeningToController = false; @@ -451,7 +451,7 @@ void SAL_CALL Listener::propertyChange ( } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } catch (lang::DisposedException&) { diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx index 2d22459ed1e7..87cd3fb240c2 100644 --- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx +++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx @@ -191,7 +191,7 @@ sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSli } catch (uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx index 9e32b5314d2b..1492db1a2de3 100644 --- a/sd/source/ui/tools/ConfigurationAccess.cxx +++ b/sd/source/ui/tools/ConfigurationAccess.cxx @@ -78,7 +78,7 @@ void ConfigurationAccess::Initialize ( } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } } diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index 143e2d02cb9e..158b1603f00e 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -129,7 +129,7 @@ Image PreviewRenderer::RenderPage ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } } @@ -188,7 +188,7 @@ Image PreviewRenderer::RenderSubstitution ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } return aPreview; @@ -298,7 +298,7 @@ void PreviewRenderer::PaintPage ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } // Restore the previous online spelling and redlining states. diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 50cf7629f667..a4795358da72 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1060,7 +1060,7 @@ void SdOutliner::ProvideNextTextObject() } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } SetUpdateMode(false); OutlinerView* pOutlinerView = mpImpl->GetOutlinerView(); diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 354f1207f047..8b8c73fc3f44 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -1213,7 +1213,7 @@ void ViewShellBase::Implementation::SetPaneVisibility ( } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } } @@ -1344,7 +1344,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet) } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } } diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx index 2deb82b6dab6..a63f747283d6 100644 --- a/sd/source/ui/view/ViewTabBar.cxx +++ b/sd/source/ui/view/ViewTabBar.cxx @@ -372,7 +372,7 @@ bool ViewTabBar::ActivatePage() } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } return false; diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 65ffb4268311..04631d87f861 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -2449,7 +2449,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) } catch( css::uno::RuntimeException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } Cancel(); diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx index 18b5a2978607..14f4fac32271 100644 --- a/sd/source/ui/view/drviews3.cxx +++ b/sd/source/ui/view/drviews3.cxx @@ -399,7 +399,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq) } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } // We have to return immediately to avoid accessing this object. |