summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-06-19 10:10:15 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-06-19 11:29:31 +0200
commitf870059a5a777b1e198b2a34af0675eb36feb8be (patch)
tree1b73115c132bf117949016f01357c7e2543cf0a9 /basic
parentcoverity#704771 Explicit null dereferenced (diff)
downloadcore-f870059a5a777b1e198b2a34af0675eb36feb8be.tar.gz
core-f870059a5a777b1e198b2a34af0675eb36feb8be.zip
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
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx4
-rw-r--r--basic/source/sbx/sbxvar.cxx2
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()
<< "])");