summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-11-09 23:33:50 +0100
committerEike Rathke <erack@redhat.com>2017-11-09 23:33:58 +0100
commit7f603dd111afcc30eec8bbec97efc16ad8b4c4d1 (patch)
treeb11045a026c7d8a62f43b69578d62de528809ffc
parentcf36b5d5f598d9b5528b273858584e2b419b23e9 (diff)
Add values to SAL_WARN output
Change-Id: I7cfca9d920fd8e060ad984df05d62ae82bad4766
-rw-r--r--sc/source/filter/inc/tokstack.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index d0b2a59f2173..759e83e88f62 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -301,7 +301,7 @@ inline TokenStack &TokenStack::operator <<( const TokenId& rNewId )
}
else
{
- SAL_WARN("sc.filter", "*TokenStack::<<(): Stack overflow");
+ SAL_WARN("sc.filter", "*TokenStack::<<(): Stack overflow for " << static_cast<sal_uInt16>(rNewId));
}
return *this;
@@ -332,7 +332,7 @@ inline TokenPool& TokenPool::operator <<( const TokenId& rId )
// rId -> ( sal_uInt16 ) rId - 1;
if ((sal_uInt16)rId >= nScTokenOff)
{
- SAL_WARN("sc.filter", "-TokenPool::operator <<: TokenId in DefToken-Range!");
+ SAL_WARN("sc.filter", "-TokenPool::operator <<: TokenId in DefToken-Range! " << static_cast<sal_uInt16>(rId));
}
if( nP_IdAkt >= nP_Id )
@@ -349,7 +349,7 @@ inline TokenPool& TokenPool::operator <<( const DefTokenId eId )
{
if ((sal_uInt32)eId + nScTokenOff >= 0xFFFF)
{
- SAL_WARN("sc.filter", "-TokenPool::operator<<: enum too large!" );
+ SAL_WARN("sc.filter", "-TokenPool::operator<<: enum too large! " << static_cast<sal_uInt32>(eId));
}
if( nP_IdAkt >= nP_Id )