summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxobj.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-06-12 14:42:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-12 18:10:44 +0000
commit272a8afa60fe9a6b497c69a58b0054ad5b880690 (patch)
tree7ab255dd96cad6ab57b1271559b1d45a1c40baa1 /basic/source/sbx/sbxobj.cxx
parent29eac0e49e372092cb119898e9f1116ab4e00532 (diff)
convert more DBG_ASSERT(false to SAL_WARN
Change-Id: Ie52f28f28c67a91c4d3d4517d5c6a466890c7a55 Reviewed-on: https://gerrit.libreoffice.org/26195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r--basic/source/sbx/sbxobj.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 12b09277dec6..9cdd7777aa0f 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -242,7 +242,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t )
case SbxClassType::Property: pArray = pProps; break;
case SbxClassType::Method: pArray = pMethods; break;
case SbxClassType::Object: pArray = pObjs; break;
- default: DBG_ASSERT( false, "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
}
if( pArray )
{
@@ -338,7 +338,7 @@ SbxArray* SbxObject::FindVar( SbxVariable* pVar, sal_uInt16& nArrayIdx )
case SbxClassType::Property: pArray = pProps; break;
case SbxClassType::Method: pArray = pMethods; break;
case SbxClassType::Object: pArray = pObjs; break;
- default: DBG_ASSERT( false, "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
}
if( pArray )
{
@@ -374,7 +374,7 @@ SbxVariable* SbxObject::Make( const OUString& rName, SbxClassType ct, SbxDataTyp
case SbxClassType::Property: pArray = pProps; break;
case SbxClassType::Method: pArray = pMethods; break;
case SbxClassType::Object: pArray = pObjs; break;
- default: DBG_ASSERT( false, "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
}
if( !pArray )
{
@@ -487,7 +487,7 @@ void SbxObject::QuickInsert( SbxVariable* pVar )
case SbxClassType::Property: pArray = pProps; break;
case SbxClassType::Method: pArray = pMethods; break;
case SbxClassType::Object: pArray = pObjs; break;
- default: DBG_ASSERT( false, "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
}
}
if( pArray )