diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2013-05-27 00:22:20 +0300 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-31 18:08:02 +0000 |
commit | 660b67a413fed152bc273bdc534e53b01b1e9d77 (patch) | |
tree | 1bdaad775c26d63325d32c8529d303cf0261b587 /desktop/source/offacc | |
parent | 2c7b6aa7a3127370afa41c1e83b2c198da504055 (diff) |
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac
Reviewed-on: https://gerrit.libreoffice.org/4044
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'desktop/source/offacc')
-rw-r--r-- | desktop/source/offacc/acceptor.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index a9b08f476d3a..fd5fbff05ddf 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -93,16 +93,16 @@ void SAL_CALL Acceptor::run() { while ( m_rAcceptor.is() ) { - RTL_LOGFILE_CONTEXT( aLog, "desktop (lo119109) Acceptor::run" ); + SAL_INFO( "desktop.offacc", "desktop (lo119109) Acceptor::run" ); try { // wait until we get enabled - RTL_LOGFILE_CONTEXT_TRACE( aLog, "desktop (lo119109)"\ + SAL_INFO( "desktop.offacc", "desktop (lo119109)"\ "Acceptor::run waiting for office to come up"); m_cEnable.wait(); if (m_bDying) //see destructor break; - RTL_LOGFILE_CONTEXT_TRACE( aLog, "desktop (lo119109)"\ + SAL_INFO( "desktop.offacc", "desktop (lo119109)"\ "Acceptor::run now enabled and continuing"); // accept connection @@ -111,8 +111,7 @@ void SAL_CALL Acceptor::run() // is destructed so we break out of the run method terminating the thread if (! rConnection.is()) break; OUString aDescription = rConnection->getDescription(); - RTL_LOGFILE_CONTEXT_TRACE1( aLog, "desktop (lo119109) Acceptor::run connection %s", - OUStringToOString(aDescription, RTL_TEXTENCODING_ASCII_US).getStr()); + SAL_INFO( "desktop.offacc", "desktop (lo119109) Acceptor::run connection " << aDescription ); // create instanceprovider for this connection Reference< XInstanceProvider > rInstanceProvider( @@ -125,7 +124,7 @@ void SAL_CALL Acceptor::run() osl::MutexGuard g(m_aMutex); m_bridges.add(rBridge); } catch (const Exception& e) { - SAL_WARN("desktop", "caught Exception \"" << e.Message << "\""); + SAL_WARN("desktop.offacc", "caught Exception \"" << e.Message << "\""); // connection failed... // something went wrong during connection setup. // just wait for a new connection to accept @@ -139,7 +138,7 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments ) { // prevent multiple initialization ClearableMutexGuard aGuard( m_aMutex ); - RTL_LOGFILE_CONTEXT( aLog, "destop (lo119109) Acceptor::initialize()" ); + SAL_INFO( "desktop.offacc", "destop (lo119109) Acceptor::initialize()" ); sal_Bool bOk = sal_False; @@ -149,8 +148,7 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments ) // not yet initialized and acceptstring if (!m_bInit && nArgs > 0 && (aArguments[0] >>= m_aAcceptString)) { - RTL_LOGFILE_CONTEXT_TRACE1( aLog, "desktop (lo119109) Acceptor::initialize string=%s", - OUStringToOString(m_aAcceptString, RTL_TEXTENCODING_ASCII_US).getStr()); + SAL_INFO( "desktop.offacc", "desktop (lo119109) Acceptor::initialize string=" << m_aAcceptString ); // get connect string and protocol from accept string // "<connectString>;<protocol>" |