summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/tokstack.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/tokstack.cxx')
-rw-r--r--sc/source/filter/excel/tokstack.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/tokstack.cxx b/sc/source/filter/excel/tokstack.cxx
index 55034093ced2..aec31a924b42 100644
--- a/sc/source/filter/excel/tokstack.cxx
+++ b/sc/source/filter/excel/tokstack.cxx
@@ -685,7 +685,7 @@ const TokenId TokenPool::Store( const OUString& rString )
if (ppP_Str[ nP_StrAkt ])
{
- DBG_ASSERT( sizeof( xub_StrLen ) <= 2, "*TokenPool::Store(): StrLen doesn't match!" );
+ /* attention trucate to 16 bits */
pSize[ nElementAkt ] = ( sal_uInt16 ) ppP_Str[ nP_StrAkt ]->getLength();
}