diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-19 11:55:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-19 13:08:29 +0200 |
commit | 39e63bfac528d8c5c002ee8fef4a1e5d7181b826 (patch) | |
tree | 8e8dc14e1719c361ccf0cdaccde66b3b7862b1e7 /sfx2/source/appl | |
parent | 367105e0248c7b80b60b2554d04f5f248b4259b3 (diff) |
convert remaing DBG_WARNING to SAL_INFO
and drop the macro
Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/appreg.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/appuno.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/appl/childwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/module.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 2f848311f8ae..bd2b6d81dfdd 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -480,7 +480,7 @@ bool SfxApplication::GetOptions( SfxItemSet& rSet ) break; default: - DBG_WARNING( "W1:Wrong ID while getting Options!" ); + SAL_INFO( "sfx", "W1:Wrong ID while getting Options!" ); break; } #ifdef DBG_UTIL diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 91abb167999c..c4571035f240 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -92,15 +92,15 @@ namespace } catch( const ucb::CommandAbortedException& ) { - DBG_WARNING( "CommandAbortedException" ); + SAL_INFO( "sfx2.appl", "CommandAbortedException" ); } catch( const ucb::IllegalIdentifierException& ) { - DBG_WARNING( "IllegalIdentifierException" ); + SAL_INFO( "sfx2.appl", "IllegalIdentifierException" ); } catch( const ucb::ContentCreationException& ) { - DBG_WARNING( "IllegalIdentifierException" ); + SAL_INFO( "sfx2.appl", "IllegalIdentifierException" ); } catch( const uno::Exception& ) { diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx index 0b618ce5dbe8..ee82f244a503 100644 --- a/sfx2/source/appl/appreg.cxx +++ b/sfx2/source/appl/appreg.cxx @@ -81,7 +81,7 @@ void SfxApplication::RegisterToolBoxControl_Impl( SfxModule *pMod, SfxTbxCtrlFac if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("TbxController registration is not clearly defined!"); + SAL_INFO("sfx", "TbxController registration is not clearly defined!"); } } #endif @@ -106,7 +106,7 @@ void SfxApplication::RegisterStatusBarControl_Impl( SfxModule *pMod, SfxStbCtrlF if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("StbController registration is not clearly defined!"); + SAL_INFO("sfx", "StbController registration is not clearly defined!"); } } #endif @@ -131,7 +131,7 @@ void SfxApplication::RegisterMenuControl_Impl( SfxModule *pMod, SfxMenuCtrlFacto if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("MenuController register is not clearly defined!"); + SAL_INFO("sfx", "MenuController register is not clearly defined!"); } } #endif diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index 5f1a86aad79d..0055cead77c9 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -247,7 +247,7 @@ void TransformParameters( sal_uInt16 nSlotId, const uno::Sequence<beans::Propert { OStringBuffer aStr("MacroPlayer: wrong number of parameters for slot: "); aStr.append(static_cast<sal_Int32>(nSlotId)); - DBG_WARNING(aStr.getStr()); + SAL_INFO("sfx2.appl", aStr.getStr()); } #endif // complex property; collect sub items from the parameter set and reconstruct complex item @@ -908,7 +908,7 @@ void TransformParameters( sal_uInt16 nSlotId, const uno::Sequence<beans::Propert // except for the "special" slots: assure that every argument was convertible OStringBuffer aStr("MacroPlayer: Some properties didn't match to any formal argument for slot: "); aStr.append(pSlot->pUnoName); - DBG_WARNING( aStr.getStr() ); + SAL_INFO( "sfx2.appl", aStr.getStr() ); } #endif } diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 4834fd89fe1e..e678f4e8bebb 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -290,7 +290,7 @@ SfxChildWindow* SfxChildWindow::CreateChildWindow( sal_uInt16 nId, if ( pChild && !pChild->pWindow ) { DELETEZ(pChild); - DBG_WARNING("ChildWindow has no Window!"); + SAL_INFO("sfx2.appl", "ChildWindow has no Window!"); } return pChild; diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 63b72900b7ca..b551fb4cbb90 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -246,7 +246,7 @@ void SfxModule::RegisterToolBoxControl( SfxTbxCtrlFactory *pFact ) if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("TbxController-Registering is not clearly defined!"); + SAL_INFO("sfx2.appl", "TbxController-Registering is not clearly defined!"); } } #endif @@ -268,7 +268,7 @@ void SfxModule::RegisterStatusBarControl( SfxStbCtrlFactory *pFact ) if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("TbxController-Registering is not clearly defined!"); + SAL_INFO("sfx2.appl", "TbxController-Registering is not clearly defined!"); } } #endif @@ -290,7 +290,7 @@ void SfxModule::RegisterMenuControl( SfxMenuCtrlFactory *pFact ) if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId && (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) ) { - DBG_WARNING("MenuController-Registering is not clearly defined!"); + SAL_INFO("sfx2.appl", "MenuController-Registering is not clearly defined!"); } } #endif diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 35a6cc641c2d..b80f5a5c467f 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -279,7 +279,7 @@ OUString getCurrentModuleIdentifier_Impl() } catch (const ::com::sun::star::frame::UnknownModuleException&) { - DBG_WARNING( "SfxHelp::getCurrentModuleIdentifier_Impl(): unknown module (help in help?)" ); + SAL_INFO( "sfx2.appl", "SfxHelp::getCurrentModuleIdentifier_Impl(): unknown module (help in help?)" ); } catch (const Exception&) { |