diff options
Diffstat (limited to 'package/source/xstor/oseekinstream.cxx')
-rw-r--r-- | package/source/xstor/oseekinstream.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx index 882f6c3a95b3..5f6be02ee23c 100644 --- a/package/source/xstor/oseekinstream.cxx +++ b/package/source/xstor/oseekinstream.cxx @@ -115,13 +115,13 @@ void SAL_CALL OInputSeekStream::seek( sal_Int64 location ) ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "Disposed!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "Disposed!" ); throw lang::DisposedException(); } if ( !m_xSeekable.is() ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "No seekable!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "No seekable!" ); throw uno::RuntimeException(); } @@ -135,13 +135,13 @@ sal_Int64 SAL_CALL OInputSeekStream::getPosition() ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "Disposed!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "Disposed!" ); throw lang::DisposedException(); } if ( !m_xSeekable.is() ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "No seekable!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "No seekable!" ); throw uno::RuntimeException(); } @@ -155,13 +155,13 @@ sal_Int64 SAL_CALL OInputSeekStream::getLength() ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "Disposed!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "Disposed!" ); throw lang::DisposedException(); } if ( !m_xSeekable.is() ) { - ::package::StaticAddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "No seekable!" ) ) ); + ::package::StaticAddLog( OSL_LOG_PREFIX "No seekable!" ); throw uno::RuntimeException(); } |