summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager/servicemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/servicemanager/servicemanager.cxx')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index cdf92db26d77..fd318eb58629 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -1198,7 +1198,7 @@ void OServiceManager::insert( const Any & Element )
for( sal_Int32 i = 0; i < aServiceNames.getLength(); i++ )
{
m_ServiceMap.insert( HashMultimap_OWString_Interface::value_type(
- pArray[i], *(Reference<XInterface > *)Element.getValue() ) );
+ pArray[i], *static_cast<Reference<XInterface > const *>(Element.getValue()) ) );
}
}
}