diff options
Diffstat (limited to 'io/source/acceptor/acc_pipe.cxx')
-rw-r--r-- | io/source/acceptor/acc_pipe.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index 73e3418a51fb..a8b8856497b7 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -56,7 +56,7 @@ namespace io_acceptor virtual void SAL_CALL close( ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); - virtual ::rtl::OUString SAL_CALL getDescription( ) + virtual OUString SAL_CALL getDescription( ) throw(::com::sun::star::uno::RuntimeException); public: ::osl::StreamPipe m_pipe; @@ -73,7 +73,7 @@ namespace io_acceptor g_moduleCount.modCnt.acquire( &g_moduleCount.modCnt ); // make it unique - m_sDescription += OUString(RTL_CONSTASCII_USTRINGPARAM(",uniqueValue=")); + m_sDescription += OUString(",uniqueValue="); m_sDescription += OUString::valueOf( sal::static_int_cast<sal_Int64 >( reinterpret_cast< sal_IntPtr >(&m_pipe)), @@ -162,7 +162,7 @@ namespace io_acceptor m_pipe = Pipe( m_sPipeName.pData , osl_Pipe_CREATE , osl::Security() ); if( ! m_pipe.is() ) { - OUString error = OUString(RTL_CONSTASCII_USTRINGPARAM("io.acceptor: Couldn't setup pipe ")); + OUString error = OUString("io.acceptor: Couldn't setup pipe "); error += m_sPipeName; throw ConnectionSetupException( error, Reference< XInterface > () ); } @@ -177,7 +177,7 @@ namespace io_acceptor } if( ! pipe.is() ) { - OUString error = OUString(RTL_CONSTASCII_USTRINGPARAM("io.acceptor: pipe already closed")); + OUString error = OUString("io.acceptor: pipe already closed"); error += m_sPipeName; throw ConnectionSetupException( error, Reference< XInterface > () ); } @@ -197,7 +197,7 @@ namespace io_acceptor } else { - OUString error = OUString(RTL_CONSTASCII_USTRINGPARAM("io.acceptor: Couldn't setup pipe ")); + OUString error = OUString("io.acceptor: Couldn't setup pipe "); error += m_sPipeName; throw ConnectionSetupException( error, Reference< XInterface > ()); } |