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 /svl | |
parent | 367105e0248c7b80b60b2554d04f5f248b4259b3 (diff) |
convert remaing DBG_WARNING to SAL_INFO
and drop the macro
Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/cenumitm.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/flagitem.cxx | 4 | ||||
-rw-r--r-- | svl/source/items/poolio.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/poolitem.cxx | 20 |
4 files changed, 14 insertions, 14 deletions
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx index 595c80e5790b..695132eef1f0 100644 --- a/svl/source/items/cenumitm.cxx +++ b/svl/source/items/cenumitm.cxx @@ -71,7 +71,7 @@ bool SfxEnumItemInterface::PutValue(const com::sun::star::uno::Any& rVal, OUString SfxEnumItemInterface::GetValueTextByPos(sal_uInt16) const { - DBG_WARNING("SfxEnumItemInterface::GetValueTextByPos(): Pure virtual"); + SAL_INFO("svl", "SfxEnumItemInterface::GetValueTextByPos(): Pure virtual"); return OUString(); } diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx index 02dcdaf84de1..e08bc41f7fc5 100644 --- a/svl/source/items/flagitem.cxx +++ b/svl/source/items/flagitem.cxx @@ -69,7 +69,7 @@ bool SfxFlagItem::GetPresentation sal_uInt8 SfxFlagItem::GetFlagCount() const { - DBG_WARNING("calling GetValueText(sal_uInt16) on SfxFlagItem -- override!"); + SAL_INFO("svl", "calling GetValueText(sal_uInt16) on SfxFlagItem -- override!"); return 0; } @@ -77,7 +77,7 @@ sal_uInt8 SfxFlagItem::GetFlagCount() const SfxPoolItem* SfxFlagItem::Create(SvStream &, sal_uInt16) const { - DBG_WARNING("calling Create() on SfxFlagItem -- override!"); + SAL_INFO("svl", "calling Create() on SfxFlagItem -- override!"); return 0; } diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index 85e7b13c31d4..b1e9647cc933 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -480,7 +480,7 @@ SvStream &SfxItemPool::Load(SvStream &rStream) for( size_t n = (*itrItemArr)->size(); n; --n, ++ppHtArr ) if (*ppHtArr) { - DBG_WARNING( "loading non-empty ItemPool" ); + SAL_INFO( "svl", "loading non-empty ItemPool" ); AddRef( **ppHtArr ); } diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index f55d7a2712b1..3212f0de5a8c 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -50,27 +50,27 @@ SfxPoolItem::SfxPoolItem(sal_uInt16 const nWhich) ++nItemCount; if ( pw1 && nItemCount>=10000 ) { - DBG_WARNING( pw1 ); + SAL_INFO( "svl", pw1 ); pw1 = NULL; } if ( pw2 && nItemCount>=100000 ) { - DBG_WARNING( pw2 ); + SAL_INFO( "svl", pw2 ); pw2 = NULL; } if ( pw3 && nItemCount>=1000000 ) { - DBG_WARNING( pw3 ); + SAL_INFO( "svl", pw3 ); pw3 = NULL; } if ( pw4 && nItemCount>=5000000 ) { - DBG_WARNING( pw4 ); + SAL_INFO( "svl", pw4 ); pw4 = NULL; } if ( pw5 && nItemCount>=10000000 ) { - DBG_WARNING( pw5 ); + SAL_INFO( "svl", pw5 ); pw5 = NULL; } #endif @@ -86,27 +86,27 @@ SfxPoolItem::SfxPoolItem( const SfxPoolItem& rCpy ) ++nItemCount; if ( pw1 && nItemCount>=10000 ) { - DBG_WARNING( pw1 ); + SAL_INFO( "svl", pw1 ); pw1 = NULL; } if ( pw2 && nItemCount>=100000 ) { - DBG_WARNING( pw2 ); + SAL_INFO( "svl", pw2 ); pw2 = NULL; } if ( pw3 && nItemCount>=1000000 ) { - DBG_WARNING( pw3 ); + SAL_INFO( "svl", pw3 ); pw3 = NULL; } if ( pw4 && nItemCount>=5000000 ) { - DBG_WARNING( pw4 ); + SAL_INFO( "svl", pw4 ); pw4 = NULL; } if ( pw5 && nItemCount>=10000000 ) { - DBG_WARNING( pw5 ); + SAL_INFO( "svl", pw5 ); pw5 = NULL; } #endif |