From f870059a5a777b1e198b2a34af0675eb36feb8be Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 19 Jun 2014 10:10:15 +0200 Subject: basic: silence expected SAL_WARN output These were HACK() and DbgOut() messages previously, none of these ended up on stderr. It seems that they are more or less harmless, so as long as nobody fixes them, silence them, so more useful warnings are not hidden when one does e.g. xray on a drawinglayer shape. Change-Id: I7343d93d2916d9978852418aca725d027eb09128 --- basic/source/sbx/sbxvalue.cxx | 4 ++-- basic/source/sbx/sbxvar.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 0dd95d33f2bf..af454c71efd4 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -190,7 +190,7 @@ void SbxValue::Clear() { if( aData.pObj != this ) { - SAL_WARN("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); + SAL_INFO("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); bool bParentProp = pThisVar && 5345 == ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); @@ -536,7 +536,7 @@ bool SbxValue::Put( const SbxValues& rVal ) { OSL_FAIL( "TheRealValue" ); } - SAL_WARN("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); + SAL_INFO("basic.sbx", "Not at Parent-Prop - otherwise CyclicRef"); SbxVariable *pThisVar = PTR_CAST(SbxVariable, this); bool bParentProp = pThisVar && 5345 == ( (sal_Int16) ( pThisVar->GetUserData() & 0xFFFF ) ); diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index f112e046ea60..f9a9aca58656 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -413,7 +413,7 @@ void SbxVariable::SetParent( SbxObject* p ) bFound = ( this == pChildren->Get(nIdx) ); } } - SAL_WARN_IF( + SAL_INFO_IF( !bFound, "basic.sbx", "dangling: [" << GetName() << "].SetParent([" << p->GetName() << "])"); -- cgit v1.2.3