summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/OConnectionPointHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/controls/OConnectionPointHelper.cxx')
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index b17edc2ba3da..26b04a6cc9af 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -101,7 +101,7 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType()
// Set default return value, if method failed.
if ( !impl_LockContainer() )
{
- throw RuntimeException("Container does not exist!");
+ throw RuntimeException(u"Container does not exist!"_ustr);
}
// If container reference valid, return right type of supported interfaces of THIS connectionpoint.
@@ -144,7 +144,7 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
// Operation is permitted only, if reference to container is valid!
if ( !impl_LockContainer() )
{
- throw RuntimeException("Container does not exist!");
+ throw RuntimeException(u"Container does not exist!"_ustr);
}
// Forward it to OConnectionPointHelperContainer!
m_pContainerImplementation->advise( m_aInterfaceType, xListener );
@@ -161,7 +161,7 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x
// Operation is permitted only, if reference to container is valid!
if ( !impl_LockContainer() )
{
- throw RuntimeException("Container does not exist!");
+ throw RuntimeException(u"Container does not exist!"_ustr);
}
// Forward it to OConnectionPointHelperContainer!
@@ -179,7 +179,7 @@ Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnecti
// Operation is permitted only, if reference to container is valid!
if ( !impl_LockContainer() )
{
- throw RuntimeException("Container does not exist!");
+ throw RuntimeException(u"Container does not exist!"_ustr);
}
// Set default return value, if method failed.
Sequence< Reference< XInterface > > seqReturnConnections;