summaryrefslogtreecommitdiff
path: root/stoc/source/inspect/introspection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/inspect/introspection.cxx')
-rw-r--r--stoc/source/inspect/introspection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index fd6173ee2628..986e57fb4642 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -373,7 +373,7 @@ void IntrospectionAccessStatic_Impl::setPropertyValue( const Any& obj, const OUS
{
sal_Int32 i = getPropertyIndex( aPropertyName );
if( i != -1 )
- setPropertyValueByIndex( obj, (sal_Int32)i, aValue );
+ setPropertyValueByIndex( obj, i, aValue );
else
throw UnknownPropertyException(aPropertyName);
}