Kaydet (Commit) b022cfb6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Get rid of some pointless SAL_INFO calls

Change-Id: I451cacc550972a6a61e3e325936ce950bbf87475
üst 6aa06988
...@@ -115,7 +115,6 @@ PathSettings::PathSettings( const css::uno::Reference< css::uno::XComponentConte ...@@ -115,7 +115,6 @@ PathSettings::PathSettings( const css::uno::Reference< css::uno::XComponentConte
, m_pPropHelp(0 ) , m_pPropHelp(0 )
, m_bIgnoreEvents(sal_False) , m_bIgnoreEvents(sal_False)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::PathSettings" );
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
...@@ -152,8 +151,6 @@ css::uno::Sequence< css::uno::Type > SAL_CALL PathSettings::getTypes( ) ...@@ -152,8 +151,6 @@ css::uno::Sequence< css::uno::Type > SAL_CALL PathSettings::getTypes( )
void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEvent) void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEvent)
throw (css::uno::RuntimeException) throw (css::uno::RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::changesOccurred" );
sal_Int32 c = aEvent.Changes.getLength(); sal_Int32 c = aEvent.Changes.getLength();
sal_Int32 i = 0; sal_Int32 i = 0;
sal_Bool bUpdateDescriptor = sal_False; sal_Bool bUpdateDescriptor = sal_False;
...@@ -185,7 +182,6 @@ void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEven ...@@ -185,7 +182,6 @@ void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEven
void SAL_CALL PathSettings::disposing(const css::lang::EventObject& aSource) void SAL_CALL PathSettings::disposing(const css::lang::EventObject& aSource)
throw(css::uno::RuntimeException) throw(css::uno::RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::disposing" );
WriteGuard aWriteLock(m_aLock); WriteGuard aWriteLock(m_aLock);
if (aSource.Source == m_xCfgNew) if (aSource.Source == m_xCfgNew)
...@@ -214,9 +210,6 @@ void PathSettings::setStringProperty(const OUString& p1, const OUString& p2) ...@@ -214,9 +210,6 @@ void PathSettings::setStringProperty(const OUString& p1, const OUString& p2)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void PathSettings::impl_readAll() void PathSettings::impl_readAll()
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_readAll" );
SAL_INFO( "fwk", "framework (as96863) ::PathSettings::load config (all)");
try try
{ {
// TODO think about me // TODO think about me
...@@ -241,7 +234,6 @@ void PathSettings::impl_readAll() ...@@ -241,7 +234,6 @@ void PathSettings::impl_readAll()
// NO substitution here ! It's done outside ... // NO substitution here ! It's done outside ...
OUStringList PathSettings::impl_readOldFormat(const OUString& sPath) OUStringList PathSettings::impl_readOldFormat(const OUString& sPath)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_readOldFormat" );
css::uno::Reference< css::container::XNameAccess > xCfg( fa_getCfgOld() ); css::uno::Reference< css::container::XNameAccess > xCfg( fa_getCfgOld() );
OUStringList aPathVal; OUStringList aPathVal;
...@@ -314,7 +306,6 @@ PathSettings::PathInfo PathSettings::impl_readNewFormat(const OUString& sPath) ...@@ -314,7 +306,6 @@ PathSettings::PathInfo PathSettings::impl_readNewFormat(const OUString& sPath)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath) void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_storePath" );
m_bIgnoreEvents = sal_True; m_bIgnoreEvents = sal_True;
css::uno::Reference< css::container::XNameAccess > xCfgNew = fa_getCfgNew(); css::uno::Reference< css::container::XNameAccess > xCfgNew = fa_getCfgNew();
...@@ -362,7 +353,6 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath) ...@@ -362,7 +353,6 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
void PathSettings::impl_mergeOldUserPaths( PathSettings::PathInfo& rPath, void PathSettings::impl_mergeOldUserPaths( PathSettings::PathInfo& rPath,
const OUStringList& lOld ) const OUStringList& lOld )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_mergeOldUserPaths" );
OUStringList::const_iterator pIt; OUStringList::const_iterator pIt;
for ( pIt = lOld.begin(); for ( pIt = lOld.begin();
pIt != lOld.end() ; pIt != lOld.end() ;
......
...@@ -142,7 +142,6 @@ ConfigurationAccess_UICategory::ConfigurationAccess_UICategory( const OUString& ...@@ -142,7 +142,6 @@ ConfigurationAccess_UICategory::ConfigurationAccess_UICategory( const OUString&
m_bConfigAccessInitialized( sal_False ), m_bConfigAccessInitialized( sal_False ),
m_bCacheFilled( sal_False ) m_bCacheFilled( sal_False )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::ConfigurationAccess_UICategory" );
// Create configuration hierachical access name // Create configuration hierachical access name
m_aConfigCategoryAccess += aModuleName; m_aConfigCategoryAccess += aModuleName;
m_aConfigCategoryAccess += OUString( CONFIGURATION_CATEGORY_ELEMENT_ACCESS ); m_aConfigCategoryAccess += OUString( CONFIGURATION_CATEGORY_ELEMENT_ACCESS );
...@@ -163,7 +162,6 @@ ConfigurationAccess_UICategory::~ConfigurationAccess_UICategory() ...@@ -163,7 +162,6 @@ ConfigurationAccess_UICategory::~ConfigurationAccess_UICategory()
Any SAL_CALL ConfigurationAccess_UICategory::getByName( const OUString& rId ) Any SAL_CALL ConfigurationAccess_UICategory::getByName( const OUString& rId )
throw ( NoSuchElementException, WrappedTargetException, RuntimeException) throw ( NoSuchElementException, WrappedTargetException, RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getByName" );
ResetableGuard aLock( m_aLock ); ResetableGuard aLock( m_aLock );
if ( !m_bConfigAccessInitialized ) if ( !m_bConfigAccessInitialized )
{ {
...@@ -184,14 +182,12 @@ throw ( NoSuchElementException, WrappedTargetException, RuntimeException) ...@@ -184,14 +182,12 @@ throw ( NoSuchElementException, WrappedTargetException, RuntimeException)
Sequence< OUString > SAL_CALL ConfigurationAccess_UICategory::getElementNames() Sequence< OUString > SAL_CALL ConfigurationAccess_UICategory::getElementNames()
throw ( RuntimeException ) throw ( RuntimeException )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getElementNames" );
return getAllIds(); return getAllIds();
} }
sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasByName( const OUString& rId ) sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasByName( const OUString& rId )
throw (::com::sun::star::uno::RuntimeException) throw (::com::sun::star::uno::RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::hasByName" );
return getByName( rId ).hasValue(); return getByName( rId ).hasValue();
} }
...@@ -199,21 +195,18 @@ throw (::com::sun::star::uno::RuntimeException) ...@@ -199,21 +195,18 @@ throw (::com::sun::star::uno::RuntimeException)
Type SAL_CALL ConfigurationAccess_UICategory::getElementType() Type SAL_CALL ConfigurationAccess_UICategory::getElementType()
throw ( RuntimeException ) throw ( RuntimeException )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getElementType" );
return( ::getCppuType( (const OUString*)NULL ) ); return( ::getCppuType( (const OUString*)NULL ) );
} }
sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasElements() sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasElements()
throw ( RuntimeException ) throw ( RuntimeException )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::hasElements" );
// There must be global categories! // There must be global categories!
return sal_True; return sal_True;
} }
sal_Bool ConfigurationAccess_UICategory::fillCache() sal_Bool ConfigurationAccess_UICategory::fillCache()
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::fillCache" );
SAL_INFO( "fwk", "framework (cd100003) ::ConfigurationAccess_UICategory::fillCache" ); SAL_INFO( "fwk", "framework (cd100003) ::ConfigurationAccess_UICategory::fillCache" );
if ( m_bCacheFilled ) if ( m_bCacheFilled )
...@@ -250,7 +243,6 @@ sal_Bool ConfigurationAccess_UICategory::fillCache() ...@@ -250,7 +243,6 @@ sal_Bool ConfigurationAccess_UICategory::fillCache()
Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId ) Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getUINameFromID" );
Any a; Any a;
try try
...@@ -286,7 +278,6 @@ Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId ) ...@@ -286,7 +278,6 @@ Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId )
Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId ) Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId )
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getUINameFromCache" );
Any a; Any a;
IdToInfoCache::const_iterator pIter = m_aIdCache.find( rId ); IdToInfoCache::const_iterator pIter = m_aIdCache.find( rId );
...@@ -298,7 +289,6 @@ Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId ) ...@@ -298,7 +289,6 @@ Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId )
Sequence< OUString > ConfigurationAccess_UICategory::getAllIds() Sequence< OUString > ConfigurationAccess_UICategory::getAllIds()
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getAllIds" );
// SAFE // SAFE
ResetableGuard aLock( m_aLock ); ResetableGuard aLock( m_aLock );
...@@ -347,7 +337,6 @@ Sequence< OUString > ConfigurationAccess_UICategory::getAllIds() ...@@ -347,7 +337,6 @@ Sequence< OUString > ConfigurationAccess_UICategory::getAllIds()
sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess() sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess()
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::initializeConfigAccess" );
Sequence< Any > aArgs( 1 ); Sequence< Any > aArgs( 1 );
PropertyValue aPropValue; PropertyValue aPropValue;
...@@ -384,23 +373,19 @@ sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess() ...@@ -384,23 +373,19 @@ sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess()
// container.XContainerListener // container.XContainerListener
void SAL_CALL ConfigurationAccess_UICategory::elementInserted( const ContainerEvent& ) throw(RuntimeException) void SAL_CALL ConfigurationAccess_UICategory::elementInserted( const ContainerEvent& ) throw(RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::elementInserted" );
} }
void SAL_CALL ConfigurationAccess_UICategory::elementRemoved ( const ContainerEvent& ) throw(RuntimeException) void SAL_CALL ConfigurationAccess_UICategory::elementRemoved ( const ContainerEvent& ) throw(RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::elementRemoved " );
} }
void SAL_CALL ConfigurationAccess_UICategory::elementReplaced( const ContainerEvent& ) throw(RuntimeException) void SAL_CALL ConfigurationAccess_UICategory::elementReplaced( const ContainerEvent& ) throw(RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::elementReplaced" );
} }
// lang.XEventListener // lang.XEventListener
void SAL_CALL ConfigurationAccess_UICategory::disposing( const EventObject& aEvent ) throw(RuntimeException) void SAL_CALL ConfigurationAccess_UICategory::disposing( const EventObject& aEvent ) throw(RuntimeException)
{ {
SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::disposing" );
// SAFE // SAFE
// remove our reference to the config access // remove our reference to the config access
ResetableGuard aLock( m_aLock ); ResetableGuard aLock( m_aLock );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment