summaryrefslogtreecommitdiff
path: root/rsc/source/parser/erscerr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser/erscerr.cxx')
-rw-r--r--rsc/source/parser/erscerr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/parser/erscerr.cxx b/rsc/source/parser/erscerr.cxx
index 29da7b660a53..632ffb9a858c 100644
--- a/rsc/source/parser/erscerr.cxx
+++ b/rsc/source/parser/erscerr.cxx
@@ -79,7 +79,7 @@ void RscError::WriteError( const ERRTYPE& rError, const char * pMessage )
if( 1 == nErrors )
StdLstErr(OString::number(nErrors).getStr());
else
- StdLstErr(OString::valueOf(static_cast<sal_Int32>(nErrors -1)).getStr());
+ StdLstErr(OString::number(nErrors -1).getStr());
StdLstErr( " Error" );
StdLstErr( " found!!" );
}