summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-16 22:42:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-16 22:42:40 +0200
commitc3e84d4c74847271f88e1f83369d0b55b2fd6037 (patch)
treead8a1ef25097c462f39c967e276811ec03a38c87 /package
parent8b9858b0aeae8bfb3af6dd8fcfce6cecdb9b8fab (diff)
sal/log.hxx functionality also includes the equivalent of OSL_LOG_PREFIX
Change-Id: I1bb0115a378003b5cc5b1cfc59c474a1f100d894
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/ocompinstream.cxx62
-rw-r--r--package/source/xstor/oseekinstream.cxx12
-rw-r--r--package/source/xstor/owriteablestream.cxx66
3 files changed, 70 insertions, 70 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx
index 36933644f771..0165d0acf872 100644
--- a/package/source/xstor/ocompinstream.cxx
+++ b/package/source/xstor/ocompinstream.cxx
@@ -115,13 +115,13 @@ sal_Int32 SAL_CALL OInputCompStream::readBytes( uno::Sequence< sal_Int8 >& aData
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xStream.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No stream!");
+ SAL_INFO("package.xstor", "No stream!");
throw uno::RuntimeException();
}
@@ -137,13 +137,13 @@ sal_Int32 SAL_CALL OInputCompStream::readSomeBytes( uno::Sequence< sal_Int8 >& a
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xStream.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No stream!");
+ SAL_INFO("package.xstor", "No stream!");
throw uno::RuntimeException();
}
@@ -160,13 +160,13 @@ void SAL_CALL OInputCompStream::skipBytes( sal_Int32 nBytesToSkip )
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xStream.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No stream!");
+ SAL_INFO("package.xstor", "No stream!");
throw uno::RuntimeException();
}
@@ -182,13 +182,13 @@ sal_Int32 SAL_CALL OInputCompStream::available( )
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xStream.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No stream!");
+ SAL_INFO("package.xstor", "No stream!");
throw uno::RuntimeException();
}
@@ -210,7 +210,7 @@ uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream()
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -226,7 +226,7 @@ uno::Reference< io::XOutputStream > SAL_CALL OInputCompStream::getOutputStream()
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -239,7 +239,7 @@ void OInputCompStream::InternalDispose()
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -267,7 +267,7 @@ void SAL_CALL OInputCompStream::dispose( )
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -294,7 +294,7 @@ void SAL_CALL OInputCompStream::addEventListener( const uno::Reference< lang::XE
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -310,7 +310,7 @@ void SAL_CALL OInputCompStream::removeEventListener( const uno::Reference< lang:
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -326,7 +326,7 @@ sal_Bool SAL_CALL OInputCompStream::hasByID( const OUString& sID )
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -353,7 +353,7 @@ OUString SAL_CALL OInputCompStream::getTargetByID( const OUString& sID )
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -377,7 +377,7 @@ OUString SAL_CALL OInputCompStream::getTypeByID( const OUString& sID )
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -401,7 +401,7 @@ uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByI
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -430,7 +430,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -464,7 +464,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -494,7 +494,7 @@ void SAL_CALL OInputCompStream::insertRelationshipByID( const OUString& /*sID*/
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -513,7 +513,7 @@ void SAL_CALL OInputCompStream::removeRelationshipByID( const OUString& /*sID*/
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -532,7 +532,7 @@ void SAL_CALL OInputCompStream::insertRelationships( const uno::Sequence< uno::
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -550,7 +550,7 @@ void SAL_CALL OInputCompStream::clearRelationships()
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -567,7 +567,7 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL OInputCompStream::getProperty
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -586,7 +586,7 @@ void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName,
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -611,7 +611,7 @@ uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp )
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -647,7 +647,7 @@ void SAL_CALL OInputCompStream::addPropertyChangeListener(
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -665,7 +665,7 @@ void SAL_CALL OInputCompStream::removePropertyChangeListener(
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -683,7 +683,7 @@ void SAL_CALL OInputCompStream::addVetoableChangeListener(
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -701,7 +701,7 @@ void SAL_CALL OInputCompStream::removeVetoableChangeListener(
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
diff --git a/package/source/xstor/oseekinstream.cxx b/package/source/xstor/oseekinstream.cxx
index 813ff249cf6b..be18fba7f496 100644
--- a/package/source/xstor/oseekinstream.cxx
+++ b/package/source/xstor/oseekinstream.cxx
@@ -114,13 +114,13 @@ void SAL_CALL OInputSeekStream::seek( sal_Int64 location )
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xSeekable.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No seekable!");
+ SAL_INFO("package.xstor", "No seekable!");
throw uno::RuntimeException();
}
@@ -134,13 +134,13 @@ sal_Int64 SAL_CALL OInputSeekStream::getPosition()
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xSeekable.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No seekable!");
+ SAL_INFO("package.xstor", "No seekable!");
throw uno::RuntimeException();
}
@@ -154,13 +154,13 @@ sal_Int64 SAL_CALL OInputSeekStream::getLength()
::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() );
if ( m_bDisposed )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
if ( !m_xSeekable.is() )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "No seekable!");
+ SAL_INFO("package.xstor", "No seekable!");
throw uno::RuntimeException();
}
diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx
index 8a7baf2074e5..272307f909a3 100644
--- a/package/source/xstor/owriteablestream.cxx
+++ b/package/source/xstor/owriteablestream.cxx
@@ -96,7 +96,7 @@ void SetEncryptionKeyProperty_Impl( const uno::Reference< beans::XPropertySet >&
catch ( const uno::Exception& rException )
{
SAL_INFO("package.xstor", rException.Message);
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Can't set encryption");
+ SAL_INFO("package.xstor", "Can't set encryption");
SAL_WARN( "package.xstor", "Can't write encryption related properties!" );
throw io::IOException(); // TODO
}
@@ -114,7 +114,7 @@ uno::Any GetEncryptionKeyProperty_Impl( const uno::Reference< beans::XPropertySe
catch ( const uno::Exception& rException )
{
SAL_INFO("package.xstor", rException.Message);
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Can't get encryption property");
+ SAL_INFO("package.xstor", "Can't get encryption property");
SAL_WARN( "package.xstor", "Can't get encryption related properties!" );
throw io::IOException(); // TODO
@@ -198,7 +198,7 @@ sal_Bool KillFile( const OUString& aURL, const uno::Reference< uno::XComponentCo
catch( const uno::Exception& rException )
{
SAL_INFO("package.xstor", rException.Message);
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Quiet exception");
+ SAL_INFO("package.xstor", "Quiet exception");
}
return bRet;
@@ -220,7 +220,7 @@ OUString GetNewTempFileURL( const uno::Reference< uno::XComponentContext > xCont
catch ( const uno::Exception& rException )
{
SAL_INFO("package.xstor", rException.Message);
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Quiet exception");
+ SAL_INFO("package.xstor", "Quiet exception");
}
if ( aTempURL.isEmpty() )
@@ -471,7 +471,7 @@ void OWriteStream_Impl::DisposeWrappers()
catch ( const uno::RuntimeException& rRuntimeException )
{
AddLog( rRuntimeException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
}
m_pAntiImpl = NULL;
@@ -520,7 +520,7 @@ OUString OWriteStream_Impl::GetFilledTempFileIfNo( const uno::Reference< io::XIn
catch( const packages::WrongPasswordException& rWrongPasswordException )
{
AddLog( rWrongPasswordException.Message );
- AddLog( OSL_LOG_PREFIX "Rethrow" );
+ AddLog( "Rethrow" );
KillFile( aTempURL, comphelper::getProcessComponentContext() );
throw;
@@ -528,7 +528,7 @@ OUString OWriteStream_Impl::GetFilledTempFileIfNo( const uno::Reference< io::XIn
catch( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Rethrow" );
+ AddLog( "Rethrow" );
KillFile( aTempURL, comphelper::getProcessComponentContext() );
throw;
@@ -643,7 +643,7 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetTempFileAsStream()
catch( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
}
}
}
@@ -681,7 +681,7 @@ uno::Reference< io::XInputStream > OWriteStream_Impl::GetTempFileAsInputStream()
catch( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
}
}
}
@@ -1029,7 +1029,7 @@ void OWriteStream_Impl::ReadRelInfoIfNecessary()
catch( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
m_nRelInfoStatus = RELINFO_BROKEN;
m_bOrigRelInfoBroken = sal_True;
@@ -1097,7 +1097,7 @@ uno::Sequence< beans::PropertyValue > OWriteStream_Impl::ReadPackageStreamProper
catch( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
SAL_WARN( "package.xstor", "A property can't be retrieved!" );
}
@@ -1215,13 +1215,13 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetStream( sal_Int32 nStreamMod
{
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
AddLog( rWrongPasswordException.Message );
- AddLog( OSL_LOG_PREFIX "Rethrow" );
+ AddLog( "Rethrow" );
throw;
}
catch ( const uno::Exception& rException )
{
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ AddLog( "Quiet exception" );
SAL_WARN( "package.xstor", "Can't write encryption related properties!" );
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
@@ -1255,7 +1255,7 @@ uno::Reference< io::XStream > OWriteStream_Impl::GetStream( sal_Int32 nStreamMod
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
AddLog( rNoEncryptionException.Message );
- AddLog( OSL_LOG_PREFIX "Rethrow" );
+ AddLog( "Rethrow" );
throw packages::WrongPasswordException();
}
@@ -1483,7 +1483,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar
catch( const packages::NoEncryptionException& rNoEncryptionException )
{
AddLog( rNoEncryptionException.Message );
- AddLog( OSL_LOG_PREFIX "No Element" );
+ AddLog( "No Element" );
throw packages::WrongPasswordException();
}
@@ -1556,7 +1556,7 @@ void OWriteStream_Impl::GetCopyOfLastCommit( uno::Reference< io::XStream >& xTar
SAL_WARN( "package.xstor", "Can't open encrypted stream!" );
SetEncryptionKeyProperty_Impl( xPropertySet, uno::Sequence< beans::NamedValue >() );
AddLog( rException.Message );
- AddLog( OSL_LOG_PREFIX "Rethrow" );
+ AddLog( "Rethrow" );
throw;
}
@@ -1724,7 +1724,7 @@ OWriteStream::~OWriteStream()
catch( const uno::RuntimeException& rRuntimeException )
{
m_pImpl->AddLog( rRuntimeException.Message );
- m_pImpl->AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ m_pImpl->AddLog( "Quiet exception" );
}
}
}
@@ -1754,7 +1754,7 @@ void OWriteStream::CheckInitOnDemand()
{
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -1817,7 +1817,7 @@ void OWriteStream::CopyToStreamInternally_Impl( const uno::Reference< io::XStrea
catch ( const uno::Exception& rException )
{
m_pImpl->AddLog( rException.Message );
- m_pImpl->AddLog( OSL_LOG_PREFIX "Quiet exception" );
+ m_pImpl->AddLog( "Quiet exception" );
// TODO: set the stoream in invalid state or dispose
SAL_WARN( "package.xstor", "The stream become invalid during copiing!" );
@@ -2052,7 +2052,7 @@ sal_Int32 SAL_CALL OWriteStream::readBytes( uno::Sequence< sal_Int8 >& aData, sa
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2074,7 +2074,7 @@ sal_Int32 SAL_CALL OWriteStream::readSomeBytes( uno::Sequence< sal_Int8 >& aData
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2096,7 +2096,7 @@ void SAL_CALL OWriteStream::skipBytes( sal_Int32 nBytesToSkip )
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2117,7 +2117,7 @@ sal_Int32 SAL_CALL OWriteStream::available( )
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2137,7 +2137,7 @@ void SAL_CALL OWriteStream::closeInput( )
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2161,7 +2161,7 @@ uno::Reference< io::XInputStream > SAL_CALL OWriteStream::getInputStream()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2180,7 +2180,7 @@ uno::Reference< io::XOutputStream > SAL_CALL OWriteStream::getOutputStream()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2203,7 +2203,7 @@ void SAL_CALL OWriteStream::writeBytes( const uno::Sequence< sal_Int8 >& aData )
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2272,7 +2272,7 @@ void SAL_CALL OWriteStream::flush()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2320,7 +2320,7 @@ void SAL_CALL OWriteStream::closeOutput()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2344,7 +2344,7 @@ void SAL_CALL OWriteStream::seek( sal_Int64 location )
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2364,7 +2364,7 @@ sal_Int64 SAL_CALL OWriteStream::getPosition()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2384,7 +2384,7 @@ sal_Int64 SAL_CALL OWriteStream::getLength()
if ( !m_pImpl )
{
- SAL_INFO("package.xstor", OSL_LOG_PREFIX "Disposed!");
+ SAL_INFO("package.xstor", "Disposed!");
throw lang::DisposedException();
}
@@ -2623,7 +2623,7 @@ sal_Bool SAL_CALL OWriteStream::hasByID( const OUString& sID )
catch( const container::NoSuchElementException& rNoSuchElementException )
{
m_pImpl->AddLog( rNoSuchElementException.Message );
- m_pImpl->AddLog( OSL_LOG_PREFIX "No Element" );
+ m_pImpl->AddLog( "No Element" );
}
return sal_False;