diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-20 22:09:56 +0200 |
commit | d573e2ae17d2ff589ec7adc0dddf6a78db4cc93a (patch) | |
tree | cefd09b6f39b3116f26193dc043bda1f49713ae9 /UnoControls/source/controls/OConnectionPointHelper.cxx | |
parent | 41c04ceb3b1b14c3c99ede86524df8f3de4f5daa (diff) |
loplugin:ostr in various
Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'UnoControls/source/controls/OConnectionPointHelper.cxx')
-rw-r--r-- | UnoControls/source/controls/OConnectionPointHelper.cxx | 8 |
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; |