From c5d47c327a57df55fa3dac0fff6b65888d0345e4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 May 2014 07:53:36 +0200 Subject: add default value for Context param in uno::Exception constructors and all it's subtypes, which is almost never used, so this allows us to simplify lots of call sites. Change-Id: I0b05793ea2bdd1027679f63252d42ce4af89433b --- cui/source/customize/cfgutil.cxx | 2 +- cui/source/customize/selector.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index 40b88bb386e0..5e33fa6acf43 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -761,7 +761,7 @@ Image SfxConfigGroupListBox::GetImage( Any aAny = xModuleManager->getByName(appModule); if( !( aAny >>= moduleDescr ) ) { - throw RuntimeException("SFTreeListBox::Init: failed to get PropertyValue", Reference< XInterface >()); + throw RuntimeException("SFTreeListBox::Init: failed to get PropertyValue"); } beans::PropertyValue const * pmoduleDescr = moduleDescr.getConstArray(); diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 4dbbac23a3cb..2b3b995f19ee 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -558,7 +558,7 @@ Image SvxConfigGroupListBox::GetImage( Any aAny = xModuleManager->getByName(appModule); if( !( aAny >>= moduleDescr ) ) { - throw RuntimeException("SFTreeListBox::Init: failed to get PropertyValue", Reference< XInterface >()); + throw RuntimeException("SFTreeListBox::Init: failed to get PropertyValue"); } beans::PropertyValue const * pmoduleDescr = moduleDescr.getConstArray(); -- cgit