summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 06aed3a13bda..aef99cae0ea9 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -33,6 +33,7 @@
#include <tblenum.hxx>
#include <IMark.hxx>
#include <tox.hxx>
+#include <frmfmt.hxx>
#include <vector>
#include <set>
@@ -357,7 +358,7 @@ public:
/// @return required automatic format.
SwFrmFmt* GetFrmFmtFromPool( sal_uInt16 nId )
- { return (SwFrmFmt*)SwEditShell::GetFmtFromPool( nId ); }
+ { return static_cast<SwFrmFmt*>(SwEditShell::GetFmtFromPool( nId )); }
SwCharFmt* GetCharFmtFromPool( sal_uInt16 nId )
{ return (SwCharFmt*)SwEditShell::GetFmtFromPool( nId ); }