summaryrefslogtreecommitdiff
path: root/sw/source/ui/fmtui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-01 10:16:54 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 09:32:09 +0200
commitd09cc11d17a33e78f76d85f098a05ab4757bfaee (patch)
treef8b26baba4cde8935caf46cd154fe14b9d37c1c9 /sw/source/ui/fmtui
parent9a0f88cf27243ae8fc655aa798ed04b8f27e01ed (diff)
loplugin: cstylecast
Change-Id: Iedac4c93e84db2db2d9527557c32b01e9a3934bd
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index dd3e8d72d601..f9727379f1e5 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -383,7 +383,7 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage )
{
OSL_ENSURE(::GetActiveView(), "no active view");
- SvxFontListItem aFontListItem( *( (SvxFontListItem*)::GetActiveView()->
+ SvxFontListItem aFontListItem( *static_cast<const SvxFontListItem*>(::GetActiveView()->
GetDocShell()->GetItem( SID_ATTR_CHAR_FONTLIST ) ) );
aSet.Put (SvxFontListItem( aFontListItem.GetFontList(), SID_ATTR_CHAR_FONTLIST));