summaryrefslogtreecommitdiff
path: root/sw/inc/fmtpdsc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/fmtpdsc.hxx')
-rw-r--r--sw/inc/fmtpdsc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx
index 9b7f9a508129..f095978a28bd 100644
--- a/sw/inc/fmtpdsc.hxx
+++ b/sw/inc/fmtpdsc.hxx
@@ -83,7 +83,7 @@ public:
};
inline const SwFmtPageDesc &SwAttrSet::GetPageDesc(bool bInP) const
- { return (const SwFmtPageDesc&)Get( RES_PAGEDESC,bInP); }
+ { return static_cast<const SwFmtPageDesc&>(Get( RES_PAGEDESC,bInP)); }
inline const SwFmtPageDesc &SwFmt::GetPageDesc(bool bInP) const
{ return aSet.GetPageDesc(bInP); }