summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idl/source/cmptools/lex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx
index 04281e3fcff7..12ce3e1ed4fd 100644
--- a/idl/source/cmptools/lex.cxx
+++ b/idl/source/cmptools/lex.cxx
@@ -50,7 +50,7 @@ ByteString SvToken::GetTokenAsString() const
aStr = aString;
break;
case SVTOKEN_INTEGER:
- aStr = ByteString::CreateFromInt64(nLong);
+ aStr = rtl::OString::valueOf(static_cast<sal_Int64>(nLong));
break;
case SVTOKEN_STRING:
aStr = aString;