summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-12-14 00:01:59 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-12-14 00:03:22 +0100
commitd67684f62fc99dd25fb46ddb547e8ff4345d0970 (patch)
treeef0f5ac7547e60b8177e3e4555f70ca4b9096d4c
parentffbde4e6a6ead7efdd65aa6bd31e9ea55f9c637e (diff)
cppcheck: fix same expression, no need to cast twice
Change-Id: I08a68071db45ee79491558dd88e723dcdf0d24d5
-rw-r--r--sc/source/ui/app/scmod.cxx2
1 files changed, 1 insertions, 1 deletions
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 )
{