summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-11 10:14:13 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-16 12:51:33 +0100
commita18123fb97e7c69a7fac6724aaa3a8e2440dae98 (patch)
tree36546217f7fe0f20c6f07e306d0ad68a880ac82e /formula/source
parent268050960a16af2b404ef3ba42b6185047027e2d (diff)
Replaced DBG_ERRORFILE with SAL_INFO.
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx4
-rw-r--r--formula/source/core/api/token.cxx28
2 files changed, 16 insertions, 16 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index ee6530c2ac32..92424152325c 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -606,7 +606,7 @@ FormulaCompiler::OpCodeMapPtr FormulaCompiler::CreateOpCodeMap(
xMap->putExternal( pArr2->Name, aExternalName);
else
{
- DBG_ERRORFILE( "FormulaCompiler::CreateOpCodeMap: no Token.Data external name");
+ SAL_INFO( "xmlsecurity", "FormulaCompiler::CreateOpCodeMap: no Token.Data external name");
}
}
}
@@ -1661,7 +1661,7 @@ FormulaToken* FormulaCompiler::CreateStringFromToken( rtl::OUStringBuffer& rBuff
rBuffer.append(mxSymbols->getSymbol(eOp));
else
{
- DBG_ERRORFILE("unknown OpCode");
+ SAL_INFO( "xmlsecurity","unknown OpCode");
rBuffer.append(GetNativeSymbol( ocErrName ));
}
if( bNext )
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index d0e8bb8d52a5..c8bd3ab5c895 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -165,7 +165,7 @@ sal_uInt8 FormulaToken::GetByte() const
void FormulaToken::SetByte( sal_uInt8 )
{
- DBG_ERRORFILE( "FormulaToken::SetByte: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::SetByte: virtual dummy called" );
}
bool FormulaToken::HasForceArray() const
@@ -176,80 +176,80 @@ bool FormulaToken::HasForceArray() const
void FormulaToken::SetForceArray( bool )
{
- DBG_ERRORFILE( "FormulaToken::SetForceArray: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::SetForceArray: virtual dummy called" );
}
double FormulaToken::GetDouble() const
{
- DBG_ERRORFILE( "FormulaToken::GetDouble: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetDouble: virtual dummy called" );
return 0.0;
}
double & FormulaToken::GetDoubleAsReference()
{
- DBG_ERRORFILE( "FormulaToken::GetDouble: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetDouble: virtual dummy called" );
static double fVal = 0.0;
return fVal;
}
const String& FormulaToken::GetString() const
{
- DBG_ERRORFILE( "FormulaToken::GetString: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetString: virtual dummy called" );
static String aDummyString;
return aDummyString;
}
sal_uInt16 FormulaToken::GetIndex() const
{
- DBG_ERRORFILE( "FormulaToken::GetIndex: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetIndex: virtual dummy called" );
return 0;
}
void FormulaToken::SetIndex( sal_uInt16 )
{
- DBG_ERRORFILE( "FormulaToken::SetIndex: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::SetIndex: virtual dummy called" );
}
bool FormulaToken::IsGlobal() const
{
- DBG_ERRORFILE( "FormulaToken::IsGlobal: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::IsGlobal: virtual dummy called" );
return true;
}
void FormulaToken::SetGlobal( bool )
{
- DBG_ERRORFILE( "FormulaToken::SetGlobal: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::SetGlobal: virtual dummy called" );
}
short* FormulaToken::GetJump() const
{
- DBG_ERRORFILE( "FormulaToken::GetJump: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetJump: virtual dummy called" );
return NULL;
}
const String& FormulaToken::GetExternal() const
{
- DBG_ERRORFILE( "FormulaToken::GetExternal: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetExternal: virtual dummy called" );
static String aDummyString;
return aDummyString;
}
FormulaToken* FormulaToken::GetFAPOrigToken() const
{
- DBG_ERRORFILE( "FormulaToken::GetFAPOrigToken: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetFAPOrigToken: virtual dummy called" );
return NULL;
}
sal_uInt16 FormulaToken::GetError() const
{
- DBG_ERRORFILE( "FormulaToken::GetError: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::GetError: virtual dummy called" );
return 0;
}
void FormulaToken::SetError( sal_uInt16 )
{
- DBG_ERRORFILE( "FormulaToken::SetError: virtual dummy called" );
+ SAL_INFO( "formula", "FormulaToken::SetError: virtual dummy called" );
}
bool FormulaToken::TextEqual( const FormulaToken& rToken ) const