diff options
Diffstat (limited to 'idl/source/objects/types.cxx')
-rw-r--r-- | idl/source/objects/types.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index c1ecbf82cf22..642d303586da 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -419,7 +419,7 @@ void SvMetaAttribute::WriteAttributes( SvIdlDataBase & rBase, SvStream & rOutStm { WriteTab( rOutStm, nTab ); rOutStm << "id(" - << OString::valueOf(static_cast<sal_Int32>(MakeSlotValue(rBase,bVar))).getStr() + << OString::number(MakeSlotValue(rBase,bVar)).getStr() << ")," << endl; } if( bVar && (bReadonly || IsMethod()) ) @@ -461,7 +461,7 @@ void SvMetaAttribute::WriteCSource( SvIdlDataBase & rBase, SvStream & rOutStm, } } rOutStm << "pODKCallFunction( " - << OString::valueOf(static_cast<sal_Int32>(MakeSlotValue(rBase, IsVariable()))).getStr(); + << OString::number(MakeSlotValue(rBase, IsVariable())).getStr(); rOutStm << ',' << endl; WriteTab( rOutStm, 3 ); rOutStm << " h" << rBase.aIFaceName.getStr() << " , "; |