summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-28 12:36:04 +0100
committerMichael Stahl <mstahl@redhat.com>2014-10-29 11:37:47 +0100
commit31ca7f6d71432081764782ce576cec1fd79e703f (patch)
tree0ffa463576aa6ce04c59f785ee36f08d646093bf /sc/source/filter/excel
parent8efc8f6801a0eba4e496595b9ac5a179e953472c (diff)
tools: remove DBG_ERRORFILE and replace all callers
Change-Id: Ic76ccc49b9291fe82c56974eb6237cd3b85d91c8
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r--sc/source/filter/excel/tokstack.cxx10
-rw-r--r--sc/source/filter/excel/xiescher.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index 724b49574432..cea4a4c4a7ef 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -526,7 +526,7 @@ bool TokenPool::GetElementRek( const sal_uInt16 nId )
if (nId >= nElementAkt)
{
- DBG_ERRORFILE( "*TokenPool::GetElementRek(): nId >= nElementAkt" );
+ SAL_WARN("sc.filter", "*TokenPool::GetElementRek(): nId >= nElementAkt");
#ifdef DBG_UTIL
m_nRek--;
#endif
@@ -535,7 +535,7 @@ bool TokenPool::GetElementRek( const sal_uInt16 nId )
if (pType[ nId ] != T_Id)
{
- DBG_ERRORFILE( "-TokenPool::GetElementRek(): pType[ nId ] != T_Id" );
+ SAL_WARN("sc.filter", "-TokenPool::GetElementRek(): pType[ nId ] != T_Id");
#ifdef DBG_UTIL
m_nRek--;
#endif
@@ -547,14 +547,14 @@ bool TokenPool::GetElementRek( const sal_uInt16 nId )
sal_uInt16 nFirstId = pElement[ nId ];
if (nFirstId >= nP_Id)
{
- DBG_ERRORFILE( "TokenPool::GetElementRek: nFirstId >= nP_Id");
+ SAL_WARN("sc.filter", "TokenPool::GetElementRek: nFirstId >= nP_Id");
nAnz = 0;
bRet = false;
}
sal_uInt16* pAkt = nAnz ? &pP_Id[ nFirstId ] : NULL;
if (nAnz > nP_Id - nFirstId)
{
- DBG_ERRORFILE( "TokenPool::GetElementRek: nAnz > nP_Id - nFirstId");
+ SAL_WARN("sc.filter", "TokenPool::GetElementRek: nAnz > nP_Id - nFirstId");
nAnz = nP_Id - nFirstId;
bRet = false;
}
@@ -564,7 +564,7 @@ bool TokenPool::GetElementRek( const sal_uInt16 nId )
{// recursion or not?
if (*pAkt >= nElementAkt)
{
- DBG_ERRORFILE( "TokenPool::GetElementRek: *pAkt >= nElementAkt");
+ SAL_WARN("sc.filter", "TokenPool::GetElementRek: *pAkt >= nElementAkt");
bRet = false;
}
else
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 6d0c56c43a6b..4f136eedc1bd 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -1598,7 +1598,7 @@ void XclImpChartObj::ReadChartSubStream( XclImpStream& rStrm )
}
else
{
- DBG_ERRORFILE( "XclImpChartObj::ReadChartSubStream - missing chart substream" );
+ SAL_INFO("sc.filter", "XclImpChartObj::ReadChartSubStream - missing chart substream");
return;
}
}