diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-26 10:27:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-26 11:46:38 +0200 |
commit | 5be1635d45e28e047af0cde4e387b07a3131cc9d (patch) | |
tree | d2bd0d9f133c10e563655081174d1481a68e09b3 /sw/source/uibase/frmdlg | |
parent | b61ca31e53f0a56667a5e00e966681be29ea7bf7 (diff) |
loplugin: cstylecast
Change-Id: Idce7220056f7bc339a5060fd0bd6fbbbdde4f6ff
Diffstat (limited to 'sw/source/uibase/frmdlg')
-rw-r--r-- | sw/source/uibase/frmdlg/colex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx index 59bc6f9fb77b..8068fa1f46f5 100644 --- a/sw/source/uibase/frmdlg/colex.cxx +++ b/sw/source/uibase/frmdlg/colex.cxx @@ -597,7 +597,7 @@ void SwPageGridExample::UpdateExample( const SfxItemSet& rSet ) DELETEZ(pGridItem); //get the grid information if(SfxItemState::DEFAULT <= rSet.GetItemState(RES_TEXTGRID, true)) - pGridItem = (SwTextGridItem*)((const SwTextGridItem&)rSet.Get(RES_TEXTGRID)).Clone(); + pGridItem = (SwTextGridItem*)static_cast<const SwTextGridItem&>(rSet.Get(RES_TEXTGRID)).Clone(); if( SfxItemState::DEFAULT <= rSet.GetItemState( RES_FRAMEDIR, true )) { const SvxFrameDirectionItem& rDirItem = |