diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/erscerr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/parser/erscerr.cxx b/rsc/source/parser/erscerr.cxx index e08cefa3c3f1..691f02c7bc19 100644 --- a/rsc/source/parser/erscerr.cxx +++ b/rsc/source/parser/erscerr.cxx @@ -112,7 +112,7 @@ void RscError::WriteError( const ERRTYPE& rError, const char * pMessage ) case ERR_ERROR: { StdLstErr( "!! " ); if( 1 == nErrors ) - StdLstErr(rtl::OString::valueOf(static_cast<sal_Int32>(nErrors )).getStr()); + StdLstErr(OString::number(nErrors).getStr()); else StdLstErr(rtl::OString::valueOf(static_cast<sal_Int32>(nErrors -1)).getStr()); StdLstErr( " Error" ); |