diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-06 12:31:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-06 12:31:23 +0200 |
commit | 3224f26cfed1963994db53172a70f332068ae41e (patch) | |
tree | 4e1dd7576a1392fb510aa866c0ee596e3c2300a5 /unotools | |
parent | OSL_TRACE -> SAL_ in vcl (diff) | |
download | core-3224f26cfed1963994db53172a70f332068ae41e.tar.gz core-3224f26cfed1963994db53172a70f332068ae41e.zip |
OSL_TRACE->SAL in unotools..uui
Change-Id: I7f391604401b8a10f5d451673ed6223c031c56ab
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/bootstrap.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/eventcfg.cxx | 6 | ||||
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index 68868f63e5d9..5c5308040bb7 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -372,7 +372,7 @@ OUString getExecutableBaseName() sExecutable = sExecutable.copy(0,nExtIndex); } else - OSL_TRACE("Cannot get executable name: osl_getExecutableFile failed"); + SAL_WARN("unotools", "Cannot get executable name: osl_getExecutableFile failed"); return sExecutable; } diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index f9e846ea2bf6..c331edefd150 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -161,7 +161,7 @@ void GlobalEventConfig_Impl::Notify( const Sequence< OUString >& ) void GlobalEventConfig_Impl::ImplCommit() { //DF need to check it this is correct?? - OSL_TRACE("In GlobalEventConfig_Impl::ImplCommit"); + SAL_INFO("unotools", "In GlobalEventConfig_Impl::ImplCommit"); EventBindingHash::const_iterator it = m_eventBindingHash.begin(); EventBindingHash::const_iterator it_end = m_eventBindingHash.end(); // clear the existing nodes @@ -177,7 +177,7 @@ void GlobalEventConfig_Impl::ImplCommit() sNode = SETNODE_BINDINGS PATHDELIMITER "BindingType['" + it->first + "']" PATHDELIMITER PROPERTYNAME_BINDINGURL; - OSL_TRACE("writing binding for: %s",OUStringToOString(sNode , RTL_TEXTENCODING_ASCII_US ).pData->buffer); + SAL_INFO("unotools", "writing binding for: " << sNode); seqValues[ 0 ].Name = sNode; seqValues[ 0 ].Value <<= it->second; //write the data to the registry @@ -207,7 +207,7 @@ void GlobalEventConfig_Impl::initBindingInfo() aBuffer.append( lEventNames[i] ); aBuffer.append( aCommandKey ); lMacros[0] = aBuffer.makeStringAndClear(); - OSL_TRACE("reading binding for: %s",OUStringToOString(lMacros[0] , RTL_TEXTENCODING_ASCII_US ).pData->buffer); + SAL_INFO("unotools", "reading binding for: " << lMacros[0]); Sequence< Any > lValues = GetProperties( lMacros ); OUString sMacroURL; if( lValues.getLength() > 0 ) diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index a467685f38ea..bb68778e4da4 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -1795,7 +1795,7 @@ void LocaleDataWrapper::outputCheckMessage( const char* pStr ) { fprintf( stderr, "\n%s\n", pStr); fflush( stderr); - OSL_TRACE("%s", pStr); + SAL_WARN("unotools", pStr); } // static |