From d67684f62fc99dd25fb46ddb547e8ff4345d0970 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 14 Dec 2013 00:01:59 +0100 Subject: cppcheck: fix same expression, no need to cast twice Change-Id: I08a68071db45ee79491558dd88e723dcdf0d24d5 --- sc/source/ui/app/scmod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index dfeeba9d30af..f31cc578a411 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1123,7 +1123,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) if ( rOptSet.HasItem(SID_ATTR_GRID_OPTIONS,&pItem) ) { - ScGridOptions aNewGridOpt( (const SvxOptionsGrid&)((const SvxGridItem&)*pItem) ); + ScGridOptions aNewGridOpt( (const SvxGridItem&)*pItem) ); if ( pViewSh ) { -- cgit