diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-19 21:14:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-19 21:23:27 +0200 |
commit | 160cfb5e5e4ab6c9e6062c74ba6ed1c610a4981a (patch) | |
tree | cf9024972c0d0535a16763968a0c0c3192671f77 /basic/source/sbx | |
parent | debea9d3250e809e323461324514e9d073d06e3a (diff) |
Bin the HACK() sillyness
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
Diffstat (limited to 'basic/source/sbx')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 1bd875bec702..b14735c9890a 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -187,7 +187,7 @@ void SbxValue::Clear() { if( aData.pObj != this ) { - HACK(nicht bei Parent-Prop - sonst CyclicRef) + SAL_WARN("basic.sbx", "nicht bei Parent-Prop - sonst CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); sal_Bool bParentProp = pThisVar && 5345 == ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); @@ -538,7 +538,7 @@ sal_Bool SbxValue::Put( const SbxValues& rVal ) { OSL_FAIL( "TheRealValue" ); } - HACK(nicht bei Parent-Prop - sonst CyclicRef) + SAL_WARN("basic.sbx", "nicht bei Parent-Prop - sonst CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); sal_Bool bParentProp = pThisVar && 5345 == ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); @@ -802,7 +802,7 @@ sal_Bool SbxValue::SetType( SbxDataType t ) case SbxOBJECT: if( aData.pObj && aData.pObj != this ) { - HACK(nicht bei Parent-Prop - sonst CyclicRef) + SAL_WARN("basic.sbx", "nicht bei Parent-Prop - sonst CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); sal_uInt16 nSlotId = pThisVar ? ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ) |