summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/cpputype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index 7c0326d7cff2..64dad4dd87dc 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -1262,8 +1262,7 @@ void CppuType::dumpConstantValue(FileStream& o, sal_uInt16 index)
o << "sal_False";
break;
case RT_TYPE_BYTE:
- o << "(sal_Int8)"
- << sal::static_int_cast< sal_Int8 >(constValue.m_value.aByte);
+ o << "(sal_Int8)" << constValue.m_value.aByte;
break;
case RT_TYPE_INT16:
o << "(sal_Int16)" << constValue.m_value.aShort;