[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Thu Nov 9 23:08:47 UTC 2017
sc/source/filter/inc/tokstack.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7f603dd111afcc30eec8bbec97efc16ad8b4c4d1
Author: Eike Rathke <erack at redhat.com>
Date: Thu Nov 9 23:33:50 2017 +0100
Add values to SAL_WARN output
Change-Id: I7cfca9d920fd8e060ad984df05d62ae82bad4766
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 )
More information about the Libreoffice-commits
mailing list