diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-19 12:22:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-19 13:08:29 +0200 |
commit | c8479bdc5b007ca5ffe1d553be3d90fb03424526 (patch) | |
tree | f927ba8085da8c9dc46d1cda669fbac8af724abf /svl | |
parent | 39e63bfac528d8c5c002ee8fef4a1e5d7181b826 (diff) |
convert DBG_ASSERTWARNING to SAL_WARN_IF
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes
much more sense.
Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/poolio.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index b1e9647cc933..bf5fba842f49 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -411,7 +411,7 @@ void SfxItemPool_Impl::readTheItems ( if ( 0 != pOldArr ) for ( n = 0; bEmpty && n < pOldArr->size(); ++n ) bEmpty = pOldArr->operator[](n) == 0; - DBG_ASSERTWARNING( bEmpty, "loading non-empty pool" ); + SAL_WARN_IF( !bEmpty, "svl", "loading non-empty pool" ); if ( !bEmpty ) { // See if there's a new one for all old ones |