summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-14 09:49:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-15 06:45:14 +0000
commitd15b4e204598fc7e4c1682c4f10228e217575937 (patch)
tree1173b2725abac5f06bfd2e28965a95256283e6a4 /basic
parent14a0d26d6ae0ee59a685c254ec235fea81636475 (diff)
teach sallogareas plugin to catch inconsistencies
Change-Id: I8bcea5ffc74d48148bea78da8c17744e288c069a Reviewed-on: https://gerrit.libreoffice.org/32004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxobj.cxx8
-rw-r--r--basic/source/sbx/sbxvalue.cxx4
-rw-r--r--basic/source/sbx/sbxvar.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 098a580a9869..e33e6b390a50 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.get(); break;
case SbxClassType::Method: pArray = pMethods.get(); break;
case SbxClassType::Object: pArray = pObjs.get(); break;
- default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic.sbx", "Invalid SBX-Class" ); break;
}
if( pArray )
{
@@ -340,7 +340,7 @@ SbxArray* SbxObject::FindVar( SbxVariable* pVar, sal_uInt16& nArrayIdx )
case SbxClassType::Property: pArray = pProps.get(); break;
case SbxClassType::Method: pArray = pMethods.get(); break;
case SbxClassType::Object: pArray = pObjs.get(); break;
- default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic.sbx", "Invalid SBX-Class" ); break;
}
}
if( pArray )
@@ -377,7 +377,7 @@ SbxVariable* SbxObject::Make( const OUString& rName, SbxClassType ct, SbxDataTyp
case SbxClassType::Property: pArray = pProps.get(); break;
case SbxClassType::Method: pArray = pMethods.get(); break;
case SbxClassType::Object: pArray = pObjs.get(); break;
- default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic.sbx", "Invalid SBX-Class" ); break;
}
if( !pArray )
{
@@ -490,7 +490,7 @@ void SbxObject::QuickInsert( SbxVariable* pVar )
case SbxClassType::Property: pArray = pProps.get(); break;
case SbxClassType::Method: pArray = pMethods.get(); break;
case SbxClassType::Object: pArray = pObjs.get(); break;
- default: SAL_WARN( "basic", "Invalid SBX-Class" ); break;
+ default: SAL_WARN( "basic.sbx", "Invalid SBX-Class" ); break;
}
}
if( pArray )
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 6ce2239206e1..41713209e622 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1509,7 +1509,7 @@ bool SbxValue::LoadData( SvStream& r, sal_uInt16 )
memset (&aData,0,sizeof(aData));
ResetFlag(SbxFlagBits::Fixed);
aData.eType = SbxNULL;
- SAL_WARN( "basic", "Loaded a non-supported data type" );
+ SAL_WARN( "basic.sbx", "Loaded a non-supported data type" );
return false;
}
@@ -1611,7 +1611,7 @@ bool SbxValue::LoadData( SvStream& r, sal_uInt16 )
case SbxWCHAR:
break;
default:
- SAL_WARN( "basic", "Saving a non-supported data type" );
+ SAL_WARN( "basic.sbx", "Saving a non-supported data type" );
return false;
}
return true;
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index 5e8307d0a6a9..cf56cd738f8e 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -560,7 +560,7 @@ bool SbxVariable::LoadData( SvStream& rStrm, sal_uInt16 nVer )
break;
default:
aData.eType = SbxNULL;
- SAL_WARN( "basic", "Loaded a non-supported data type" );
+ SAL_WARN( "basic.sbx", "Loaded a non-supported data type" );
return false;
}
// putt value