summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envprt.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-01 10:16:37 +0200
committerNoel Grandin <noel@peralex.com>2014-12-02 09:32:09 +0200
commit9a0f88cf27243ae8fc655aa798ed04b8f27e01ed (patch)
tree0590eb86f7880315dcb1fe059b79d147e4f7afd9 /sw/source/ui/envelp/envprt.hxx
parent5504035ac07442cc2b77b53f953fcd7d8a4d8648 (diff)
loplugin: cstylecast
Change-Id: I0bba962b4110cb988a6beda71cfc347c4d31d279
Diffstat (limited to 'sw/source/ui/envelp/envprt.hxx')
-rw-r--r--sw/source/ui/envelp/envprt.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/envprt.hxx b/sw/source/ui/envelp/envprt.hxx
index e6f427caa95d..bee494477667 100644
--- a/sw/source/ui/envelp/envprt.hxx
+++ b/sw/source/ui/envelp/envprt.hxx
@@ -29,6 +29,7 @@
#include <svtools/stdctrl.hxx>
#include "envimg.hxx"
+#include "envlop.hxx"
class SwEnvDlg;
@@ -52,7 +53,7 @@ class SwEnvPrtPage : public SfxTabPage
DECL_LINK(AlignHdl, void *);
DECL_LINK( ButtonHdl, Button * );
- SwEnvDlg* GetParentSwEnvDlg() {return (SwEnvDlg*) GetParentDialog();}
+ SwEnvDlg* GetParentSwEnvDlg() {return static_cast<SwEnvDlg*>( GetParentDialog());}
using TabPage::ActivatePage;
using TabPage::DeactivatePage;