fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO

Change-Id: Ie959aa5a6874aae3c60273355a959c344e82699e
Reviewed-on: https://gerrit.libreoffice.org/5083
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
This commit is contained in:
Jelle van der Waa
2013-07-24 21:39:52 +02:00
committed by Fridrich Strba
parent b525ef35b1
commit ec52a20edb
14 changed files with 1 additions and 28 deletions

View File

@@ -29,7 +29,6 @@
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
using namespace ::utl ; using namespace ::utl ;
@@ -317,7 +316,6 @@ SvtExtendedSecurityOptions::SvtExtendedSecurityOptions()
// ... and initialize ouer data container only if it not already exist! // ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL ) if( m_pDataContainer == NULL )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtExtendedSecurityOptions_Impl::ctor()");
m_pDataContainer = new SvtExtendedSecurityOptions_Impl; m_pDataContainer = new SvtExtendedSecurityOptions_Impl;
ItemHolder1::holdConfigItem(E_EXTENDEDSECURITYOPTIONS); ItemHolder1::holdConfigItem(E_EXTENDEDSECURITYOPTIONS);

View File

@@ -21,7 +21,6 @@
#include <unotools/fltrcfg.hxx> #include <unotools/fltrcfg.hxx>
#include <tools/debug.hxx> #include <tools/debug.hxx>
#include <rtl/logfile.hxx>
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
@@ -300,7 +299,6 @@ SvtFilterOptions::SvtFilterOptions() :
ConfigItem( "Office.Common/Filter/Microsoft" ), ConfigItem( "Office.Common/Filter/Microsoft" ),
pImp(new SvtFilterOptions_Impl) pImp(new SvtFilterOptions_Impl)
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools SvtFilterOptions::SvtFilterOptions()");
EnableNotification(GetPropertyNames()); EnableNotification(GetPropertyNames());
Load(); Load();
} }

View File

@@ -25,7 +25,6 @@
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <rtl/logfile.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
@@ -331,7 +330,6 @@ SvtFontOptions::SvtFontOptions()
// ... and initialize ouer data container only if it not already exist! // ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL ) if( m_pDataContainer == NULL )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtFontOptions_Impl::ctor()");
m_pDataContainer = new SvtFontOptions_Impl; m_pDataContainer = new SvtFontOptions_Impl;
ItemHolder1::holdConfigItem(E_FONTOPTIONS); ItemHolder1::holdConfigItem(E_FONTOPTIONS);

View File

@@ -28,7 +28,6 @@
#include <deque> #include <deque>
#include <algorithm> #include <algorithm>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
@@ -590,7 +589,6 @@ SvtHistoryOptions::SvtHistoryOptions()
// ... and initialize ouer data container only if it not already exist! // ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL ) if( m_pDataContainer == NULL )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtHistoryOptions_Impl::ctor()");
m_pDataContainer = new SvtHistoryOptions_Impl; m_pDataContainer = new SvtHistoryOptions_Impl;
ItemHolder1::holdConfigItem(E_HISTORYOPTIONS); ItemHolder1::holdConfigItem(E_HISTORYOPTIONS);

View File

@@ -25,7 +25,6 @@
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
using namespace ::utl ; using namespace ::utl ;
@@ -291,7 +290,6 @@ SvtLocalisationOptions::SvtLocalisationOptions()
// ... and initialize ouer data container only if it not already exist! // ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL ) if( m_pDataContainer == NULL )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtLocalisationOptions_Impl::ctor()");
m_pDataContainer = new SvtLocalisationOptions_Impl; m_pDataContainer = new SvtLocalisationOptions_Impl;
ItemHolder1::holdConfigItem(E_LOCALISATIONOPTIONS); ItemHolder1::holdConfigItem(E_LOCALISATIONOPTIONS);

View File

@@ -26,7 +26,6 @@
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
@@ -77,8 +76,6 @@ SfxMiscCfg::SfxMiscCfg() :
bNotFound (sal_False), bNotFound (sal_False),
nYear2000( 1930 ) nYear2000( 1930 )
{ {
RTL_LOGFILE_CONTEXT(aLog, "svl SfxMiscCfg::SfxMiscCfg()");
Load(); Load();
} }
@@ -190,7 +187,6 @@ MiscCfg::MiscCfg( )
::osl::MutexGuard aGuard( LocalSingleton::get() ); ::osl::MutexGuard aGuard( LocalSingleton::get() );
if ( !pOptions ) if ( !pOptions )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) SfxMiscCfg::ctor()");
pOptions = new SfxMiscCfg; pOptions = new SfxMiscCfg;
ItemHolder1::holdConfigItem(E_MISCCFG); ItemHolder1::holdConfigItem(E_MISCCFG);

View File

@@ -26,7 +26,6 @@
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <rtl/logfile.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
@@ -1003,7 +1002,6 @@ SvtModuleOptions::SvtModuleOptions()
++m_nRefCount; ++m_nRefCount;
if( m_nRefCount == 1 ) if( m_nRefCount == 1 )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtModuleOptions_Impl::ctor()");
m_pDataContainer = new SvtModuleOptions_Impl(); m_pDataContainer = new SvtModuleOptions_Impl();
ItemHolder1::holdConfigItem(E_MODULEOPTIONS); ItemHolder1::holdConfigItem(E_MODULEOPTIONS);

View File

@@ -28,7 +28,6 @@
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <comphelper/configurationhelper.hxx> #include <comphelper/configurationhelper.hxx>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
using namespace utl; using namespace utl;
@@ -857,7 +856,6 @@ SvtSaveOptions::SvtSaveOptions()
::osl::MutexGuard aGuard( LocalSingleton::get() ); ::osl::MutexGuard aGuard( LocalSingleton::get() );
if ( !pOptions ) if ( !pOptions )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtSaveOptions_Impl::ctor()");
pOptions = new SvtLoadSaveOptions_Impl; pOptions = new SvtLoadSaveOptions_Impl;
pOptions->pSaveOpt = new SvtSaveOptions_Impl; pOptions->pSaveOpt = new SvtSaveOptions_Impl;
pOptions->pLoadOpt = new SvtLoadOptions_Impl; pOptions->pLoadOpt = new SvtLoadOptions_Impl;

View File

@@ -26,7 +26,6 @@
#include <com/sun/star/i18n/TransliterationModulesExtra.hpp> #include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.h>
#include <rtl/logfile.hxx>
#include <sal/macros.h> #include <sal/macros.h>
@@ -75,7 +74,6 @@ public:
SvtSearchOptions_Impl::SvtSearchOptions_Impl() : SvtSearchOptions_Impl::SvtSearchOptions_Impl() :
ConfigItem( OUString("Office.Common/SearchOptions") ) ConfigItem( OUString("Office.Common/SearchOptions") )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools SvtSearchOptions_Impl::SvtSearchOptions_Impl()");
nFlags = 0x0003FFFF; // set all options values to 'true' nFlags = 0x0003FFFF; // set all options values to 'true'
Load(); Load();
SetModified( sal_False ); SetModified( sal_False );

View File

@@ -32,7 +32,6 @@
#include <unotools/pathoptions.hxx> #include <unotools/pathoptions.hxx>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
//_________________________________________________________________________________________________________________ //_________________________________________________________________________________________________________________
@@ -1045,7 +1044,6 @@ SvtSecurityOptions::SvtSecurityOptions()
// ... and initialize ouer data container only if it not already exist! // ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL ) if( m_pDataContainer == NULL )
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) ::SvtSecurityOptions_Impl::ctor()");
m_pDataContainer = new SvtSecurityOptions_Impl; m_pDataContainer = new SvtSecurityOptions_Impl;
ItemHolder1::holdConfigItem(E_SECURITYOPTIONS); ItemHolder1::holdConfigItem(E_SECURITYOPTIONS);

View File

@@ -20,7 +20,6 @@
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include <rtl/logfile.hxx>
#include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
#include <tools/string.hxx> #include <tools/string.hxx>
@@ -531,7 +530,6 @@ SvtSysLocaleOptions::SvtSysLocaleOptions()
MutexGuard aGuard( GetMutex() ); MutexGuard aGuard( GetMutex() );
if ( !pOptions ) if ( !pOptions )
{ {
RTL_LOGFILE_CONTEXT(aLog, "svl ( ??? ) ::SvtSysLocaleOptions_Impl::ctor()");
pOptions = new SvtSysLocaleOptions_Impl; pOptions = new SvtSysLocaleOptions_Impl;
ItemHolder1::holdConfigItem(E_SYSLOCALEOPTIONS); ItemHolder1::holdConfigItem(E_SYSLOCALEOPTIONS);

View File

@@ -26,7 +26,6 @@
#include <tools/solar.h> #include <tools/solar.h>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <rtl/instance.hxx> #include <rtl/instance.hxx>
#include <rtl/logfile.hxx>
#include "itemholder1.hxx" #include "itemholder1.hxx"
#include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/Property.hpp>
@@ -254,7 +253,6 @@ SvtUserOptions::SvtUserOptions ()
if (pSharedImpl.expired()) if (pSharedImpl.expired())
{ {
RTL_LOGFILE_CONTEXT(aLog, "unotools ( ??? ) SvtUserOptions::Impl::ctor()");
pImpl.reset(new Impl); pImpl.reset(new Impl);
pSharedImpl = pImpl; pSharedImpl = pImpl;
ItemHolder1::holdConfigItem(E_USEROPTIONS); ItemHolder1::holdConfigItem(E_USEROPTIONS);

View File

@@ -447,7 +447,7 @@ void SecurityEnvironment_NssImpl::updateSlots()
// if( pSymKey == NULL ) // if( pSymKey == NULL )
// { // {
// PK11_FreeSlot( pSlot ) ; // PK11_FreeSlot( pSlot ) ;
// RTL_LOGFILE_TRACE( "XMLSEC: Error - pSymKey is NULL" ); // SAL_INFO( "xmlsecurity", "XMLSEC: Error - pSymKey is NULL" );
// continue; // continue;
// } // }
addCryptoSlot(pSlot); addCryptoSlot(pSlot);

View File

@@ -32,7 +32,6 @@
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <osl/file.hxx> #include <osl/file.hxx>
#include <osl/thread.h> #include <osl/thread.h>
#include <rtl/logfile.hxx>
#include <com/sun/star/xml/crypto/SecurityEnvironment.hpp> #include <com/sun/star/xml/crypto/SecurityEnvironment.hpp>
#include <com/sun/star/xml/crypto/XMLSecurityContext.hpp> #include <com/sun/star/xml/crypto/XMLSecurityContext.hpp>