summaryrefslogtreecommitdiff
path: root/cppuhelper
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 /cppuhelper
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 'cppuhelper')
-rw-r--r--cppuhelper/source/implbase_ex.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx
index 0dba5561ad6f..2aa3e1d375d7 100644
--- a/cppuhelper/source/implbase_ex.cxx
+++ b/cppuhelper/source/implbase_ex.cxx
@@ -53,7 +53,7 @@ static inline void checkInterface( Type const & rType )
{
OUString msg( "querying for interface \"" + rType.getTypeName() + "\": no interface type!" );
SAL_WARN( "cppuhelper", msg );
- throw RuntimeException( msg, Reference< XInterface >() );
+ throw RuntimeException( msg );
}
}
@@ -96,7 +96,7 @@ static inline type_entry * __getTypeEntries( class_data * cd )
{
OUString msg( "type \"" + rType.getTypeName() + "\" is no interface type!" );
SAL_WARN( "cppuhelper", msg );
- throw RuntimeException( msg, Reference< XInterface >() );
+ throw RuntimeException( msg );
}
// ref is statically held by getCppuType()
pEntry->m_type.typeRef = rType.getTypeLibType();
@@ -202,7 +202,7 @@ static inline void * __queryDeepNoXInterface(
{
OUString msg( "cannot get type description for type \"" + OUString(pEntries[ n ].m_type.typeRef->pTypeName) + "\"!" );
SAL_WARN( "cppuhelper", msg );
- throw RuntimeException( msg, Reference< XInterface >() );
+ throw RuntimeException( msg );
}
}
return 0;