summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-22 07:53:36 +0200
committerNoel Grandin <noel@peralex.com>2014-05-23 15:05:59 +0200
commitc5d47c327a57df55fa3dac0fff6b65888d0345e4 (patch)
tree0fbcbfc87494f0f65d3b30312a9420f651521750 /basic
parent66fc6d223fd086b7611eb8bf3111a55e858bade0 (diff)
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
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 067acda987a2..a7c3e45017da 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -257,7 +257,7 @@ DocObjectWrapper::invoke( const OUString& aFunctionName, const Sequence< Any >&
sal_Int32 nSbxCount = n - 1;
if ( nParamsCount < nSbxCount - nSbxOptional )
{
- throw RuntimeException( "wrong number of parameters!", Reference< XInterface >() );
+ throw RuntimeException( "wrong number of parameters!" );
}
}
// set parameters