summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/source/acceptor/acceptor.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index fe761018de52..1be39b4cb7d3 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -33,6 +33,7 @@
#include "acceptor.hxx"
#include <memory>
+#include <string_view>
#define IMPLEMENTATION_NAME "com.sun.star.comp.io.Acceptor"
#define SERVICE_NAME "com.sun.star.connection.Acceptor"
@@ -89,11 +90,11 @@ namespace {
struct BeingInAccept
{
/// @throws AlreadyAcceptingException
- BeingInAccept( bool *pFlag,const OUString & sConnectionDescription )
+ BeingInAccept( bool *pFlag,std::u16string_view sConnectionDescription )
: m_pFlag( pFlag )
{
if( *m_pFlag )
- throw AlreadyAcceptingException( "AlreadyAcceptingException :" + sConnectionDescription );
+ throw AlreadyAcceptingException( OUString::Concat("AlreadyAcceptingException :") + sConnectionDescription );
*m_pFlag = true;
}
~BeingInAccept()