summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshe3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-30 09:37:00 +0200
committerNoel Grandin <noel@peralex.com>2014-11-10 15:22:17 +0200
commit526917bbd06e290bb6669e2e52730a5941570b34 (patch)
treee663048111c00fb0738550d3cdbeff5e573b91e2 /sd/source/ui/view/viewshe3.cxx
parent36057c3a11deb3a7c3748d7aafd5e6dd08b58984 (diff)
loplugin: cstylecast
Change-Id: I9d3f642239bc5c7a52611b9c27fd0291940c7483
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r--sd/source/ui/view/viewshe3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 52a2d5f636aa..32551c14bd9d 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -99,7 +99,7 @@ void ViewShell::GetMenuState( SfxItemSet &rSet )
if( pStyleSheet )
{
if (pStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE)
- pStyleSheet = ((SdStyleSheet*)pStyleSheet)->GetPseudoStyleSheet();
+ pStyleSheet = static_cast<SdStyleSheet*>(pStyleSheet)->GetPseudoStyleSheet();
if( pStyleSheet )
{