summaryrefslogtreecommitdiff
path: root/sax/source/tools/fastattribs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/tools/fastattribs.cxx')
-rw-r--r--sax/source/tools/fastattribs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx
index 06fe66270b12..fa91125b2245 100644
--- a/sax/source/tools/fastattribs.cxx
+++ b/sax/source/tools/fastattribs.cxx
@@ -249,7 +249,7 @@ sal_Int32 FastTokenHandlerBase::getTokenFromChars(
nLen = strlen( pToken );
if( pTokenHandler )
- nRet = pTokenHandler->getTokenDirect( pToken, (sal_Int32) nLen );
+ nRet = pTokenHandler->getTokenDirect( pToken, static_cast<sal_Int32>(nLen) );
else
{
// heap allocate, copy & then free