diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 16:39:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 16:39:30 +0100 |
commit | 48637482d2fb22baef261238f17df00f0149dd08 (patch) | |
tree | 9e0d7a8c83eccbfa1ba01815888bc5d0c1921e81 /cui | |
parent | d00a3722b46314c927ba392a31fe4ff5ebc5c0b5 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I45e34a9369b31fa284bc0fc0176c7efd81b527d4
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/page.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 74f109188750..3c411a57cfbd 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -19,6 +19,7 @@ #include <sfx2/app.hxx> #include <sfx2/objsh.hxx> +#include <sfx2/printer.hxx> #include <tools/resary.hxx> #include <vcl/graph.hxx> #include <sfx2/viewsh.hxx> @@ -295,7 +296,7 @@ SvxPageDescPage::SvxPageDescPage( vcl::Window* pParent, const SfxItemSet& rAttr if ( SfxViewShell::Current() && SfxViewShell::Current()->GetPrinter() ) { - mpDefPrinter = (Printer*)SfxViewShell::Current()->GetPrinter(); + mpDefPrinter = SfxViewShell::Current()->GetPrinter(); } else { |