summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/tabtempl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-13 10:19:16 +0200
committerNoel Grandin <noel@peralex.com>2014-11-13 10:19:46 +0200
commitb52a7c4df461109e6b80c65b043135582dd4f01b (patch)
tree5c5a1538813cb0048fc0bd2a4deac11de2abaddc /sd/source/ui/dlg/tabtempl.cxx
parentd1ec0bf64ce7c099f199e62f148187509c998d3a (diff)
loplugin: cstylecast
Change-Id: I071962c646199c30e842b9ec7673473de237ee45
Diffstat (limited to 'sd/source/ui/dlg/tabtempl.cxx')
-rw-r--r--sd/source/ui/dlg/tabtempl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/tabtempl.cxx b/sd/source/ui/dlg/tabtempl.cxx
index 4d633580d476..409d4bf477b0 100644
--- a/sd/source/ui/dlg/tabtempl.cxx
+++ b/sd/source/ui/dlg/tabtempl.cxx
@@ -144,8 +144,8 @@ void SdTabTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
}
else if (nId == m_nFontId)
{
- SvxFontListItem aItem(*( (const SvxFontListItem*)
- ( rDocShell.GetItem( SID_ATTR_CHAR_FONTLIST) ) ) );
+ SvxFontListItem aItem(*static_cast<const SvxFontListItem*>(
+ rDocShell.GetItem( SID_ATTR_CHAR_FONTLIST) ) );
aSet.Put (SvxFontListItem( aItem.GetFontList(), SID_ATTR_CHAR_FONTLIST));
rPage.PageCreated(aSet);