diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 93b74d70e68e..c4055320d88f 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -418,9 +418,7 @@ void ScModule::Execute( SfxRequest& rReq ) case SID_PSZ_FUNCTION: if (pReqArgs) { - auto const & p = pReqArgs->Get(SID_PSZ_FUNCTION); - assert(dynamic_cast<const SfxUInt32Item*>(&p) && "wrong Parameter"); - const SfxUInt32Item& rItem = static_cast<const SfxUInt32Item&>(p); + const SfxUInt32Item & rItem = pReqArgs->Get(SID_PSZ_FUNCTION); ScAppOptions aNewOpts( GetAppOptions() ); aNewOpts.SetStatusFunc( rItem.GetValue() ); |