From b022cfb6caccaee89c3f95dcdd585a4e77eb61df Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 8 Sep 2013 21:54:17 +0300 Subject: Get rid of some pointless SAL_INFO calls Change-Id: I451cacc550972a6a61e3e325936ce950bbf87475 --- framework/source/services/pathsettings.cxx | 10 ---------- .../source/uiconfiguration/uicategorydescription.cxx | 15 --------------- 2 files changed, 25 deletions(-) (limited to 'framework') diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 7ef4594c19ec..00fde43c62ab 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -115,7 +115,6 @@ PathSettings::PathSettings( const css::uno::Reference< css::uno::XComponentConte , m_pPropHelp(0 ) , 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( ) void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEvent) throw (css::uno::RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::changesOccurred" ); - sal_Int32 c = aEvent.Changes.getLength(); sal_Int32 i = 0; sal_Bool bUpdateDescriptor = sal_False; @@ -185,7 +182,6 @@ void SAL_CALL PathSettings::changesOccurred(const css::util::ChangesEvent& aEven void SAL_CALL PathSettings::disposing(const css::lang::EventObject& aSource) throw(css::uno::RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::disposing" ); WriteGuard aWriteLock(m_aLock); if (aSource.Source == m_xCfgNew) @@ -214,9 +210,6 @@ void PathSettings::setStringProperty(const OUString& p1, const OUString& p2) //----------------------------------------------------------------------------- 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 { // TODO think about me @@ -241,7 +234,6 @@ void PathSettings::impl_readAll() // NO substitution here ! It's done outside ... 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() ); OUStringList aPathVal; @@ -314,7 +306,6 @@ PathSettings::PathInfo PathSettings::impl_readNewFormat(const OUString& sPath) //----------------------------------------------------------------------------- void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_storePath" ); m_bIgnoreEvents = sal_True; css::uno::Reference< css::container::XNameAccess > xCfgNew = fa_getCfgNew(); @@ -362,7 +353,6 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath) void PathSettings::impl_mergeOldUserPaths( PathSettings::PathInfo& rPath, const OUStringList& lOld ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com PathSettings::impl_mergeOldUserPaths" ); OUStringList::const_iterator pIt; for ( pIt = lOld.begin(); pIt != lOld.end() ; diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index 8b7bc07c9a52..32130297c8b1 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -142,7 +142,6 @@ ConfigurationAccess_UICategory::ConfigurationAccess_UICategory( const OUString& m_bConfigAccessInitialized( sal_False ), m_bCacheFilled( sal_False ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::ConfigurationAccess_UICategory" ); // Create configuration hierachical access name m_aConfigCategoryAccess += aModuleName; m_aConfigCategoryAccess += OUString( CONFIGURATION_CATEGORY_ELEMENT_ACCESS ); @@ -163,7 +162,6 @@ ConfigurationAccess_UICategory::~ConfigurationAccess_UICategory() Any SAL_CALL ConfigurationAccess_UICategory::getByName( const OUString& rId ) throw ( NoSuchElementException, WrappedTargetException, RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getByName" ); ResetableGuard aLock( m_aLock ); if ( !m_bConfigAccessInitialized ) { @@ -184,14 +182,12 @@ throw ( NoSuchElementException, WrappedTargetException, RuntimeException) Sequence< OUString > SAL_CALL ConfigurationAccess_UICategory::getElementNames() throw ( RuntimeException ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getElementNames" ); return getAllIds(); } sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasByName( const OUString& rId ) throw (::com::sun::star::uno::RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::hasByName" ); return getByName( rId ).hasValue(); } @@ -199,21 +195,18 @@ throw (::com::sun::star::uno::RuntimeException) Type SAL_CALL ConfigurationAccess_UICategory::getElementType() throw ( RuntimeException ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getElementType" ); return( ::getCppuType( (const OUString*)NULL ) ); } sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasElements() throw ( RuntimeException ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::hasElements" ); // There must be global categories! return sal_True; } sal_Bool ConfigurationAccess_UICategory::fillCache() { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::fillCache" ); SAL_INFO( "fwk", "framework (cd100003) ::ConfigurationAccess_UICategory::fillCache" ); if ( m_bCacheFilled ) @@ -250,7 +243,6 @@ sal_Bool ConfigurationAccess_UICategory::fillCache() Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getUINameFromID" ); Any a; try @@ -286,7 +278,6 @@ Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId ) Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId ) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getUINameFromCache" ); Any a; IdToInfoCache::const_iterator pIter = m_aIdCache.find( rId ); @@ -298,7 +289,6 @@ Any ConfigurationAccess_UICategory::getUINameFromCache( const OUString& rId ) Sequence< OUString > ConfigurationAccess_UICategory::getAllIds() { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::getAllIds" ); // SAFE ResetableGuard aLock( m_aLock ); @@ -347,7 +337,6 @@ Sequence< OUString > ConfigurationAccess_UICategory::getAllIds() sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess() { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::initializeConfigAccess" ); Sequence< Any > aArgs( 1 ); PropertyValue aPropValue; @@ -384,23 +373,19 @@ sal_Bool ConfigurationAccess_UICategory::initializeConfigAccess() // container.XContainerListener 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) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::elementRemoved " ); } void SAL_CALL ConfigurationAccess_UICategory::elementReplaced( const ContainerEvent& ) throw(RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::elementReplaced" ); } // lang.XEventListener void SAL_CALL ConfigurationAccess_UICategory::disposing( const EventObject& aEvent ) throw(RuntimeException) { - SAL_INFO( "fwk", "framework Ocke.Janssen@sun.com ConfigurationAccess_UICategory::disposing" ); // SAFE // remove our reference to the config access ResetableGuard aLock( m_aLock ); -- cgit