summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/HeaderFooterWin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-01 10:17:15 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 09:32:10 +0200
commitc91ece97c00a780c1ed745aed64b20958e9ee2aa (patch)
tree8fbf386b574cb57c9fd4c27433cd71089546d940 /sw/source/uibase/docvw/HeaderFooterWin.cxx
parentd09cc11d17a33e78f76d85f098a05ab4757bfaee (diff)
loplugin: cstylecast
Change-Id: Ic1c68ee7094afbd9727508a148eae2429ba8c380
Diffstat (limited to 'sw/source/uibase/docvw/HeaderFooterWin.cxx')
-rw-r--r--sw/source/uibase/docvw/HeaderFooterWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index 818d5e8342d8..6ac23cc79cfc 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -441,7 +441,7 @@ void SwHeaderFooterWin::ExecuteCommand( sal_uInt16 nSlot )
const SfxPoolItem *pBoxInfo;
if ( SfxItemState::SET == pHFFmt->GetAttrSet().GetItemState( SID_ATTR_BORDER_INNER,
true, &pBoxInfo) )
- aBoxInfo = *(SvxBoxInfoItem*)pBoxInfo;
+ aBoxInfo = *static_cast<const SvxBoxInfoItem*>(pBoxInfo);
aBoxInfo.SetTable( false );
aBoxInfo.SetDist( true);