diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 12:16:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 15:18:07 +0100 |
commit | b06095804fe48f858d956400dcfaa08ffc2ae6ec (patch) | |
tree | 0cc8ed2b14da1534a0546ab293645b96522d5638 /sw/source/ui | |
parent | 46593a05b28f93831da925aa7092b72be2209685 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Ie681e2a6408286e0b2f49d68f6cf8fa37c145318
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index a27d739c6efb..fd9c893ec391 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -20,6 +20,7 @@ #include <hintids.hxx> #include "cmdid.h" +#include <docsh.hxx> #include "swmodule.hxx" #include "view.hxx" #include "wrtsh.hxx" @@ -538,7 +539,7 @@ SwDropCapsPage::SwDropCapsPage(vcl::Window *pParent, const SfxItemSet &rSet) SetExchangeSupport(); - const sal_uInt16 nHtmlMode = ::GetHtmlMode((const SwDocShell*)SfxObjectShell::Current()); + const sal_uInt16 nHtmlMode = ::GetHtmlMode(static_cast<const SwDocShell*>(SfxObjectShell::Current())); bHtmlMode = (nHtmlMode & HTMLMODE_ON) != 0; // In the template dialog the text is not influenceable |