diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index 3cc3cc05500f..844fd7a676bd 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -319,9 +319,7 @@ uno::Reference< container::XEnumeration > SAL_CALL SfxGlobalEvents_Impl::createE { models[i] <<= m_lModels[i]; } - uno::Reference< container::XEnumeration > xEnum( - static_cast<container::XEnumeration*>( - new ::comphelper::OAnyEnumeration(models))); + uno::Reference<container::XEnumeration> xEnum(new ::comphelper::OAnyEnumeration(models)); aLock.clear(); // <- SAFE |