Kaydet (Commit) 48637482 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast, involving pointer to incomplete type

Change-Id: I45e34a9369b31fa284bc0fc0176c7efd81b527d4
üst d00a3722
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
#include <sfx2/objsh.hxx> #include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
#include <tools/resary.hxx> #include <tools/resary.hxx>
#include <vcl/graph.hxx> #include <vcl/graph.hxx>
#include <sfx2/viewsh.hxx> #include <sfx2/viewsh.hxx>
...@@ -295,7 +296,7 @@ SvxPageDescPage::SvxPageDescPage( vcl::Window* pParent, const SfxItemSet& rAttr ...@@ -295,7 +296,7 @@ SvxPageDescPage::SvxPageDescPage( vcl::Window* pParent, const SfxItemSet& rAttr
if ( SfxViewShell::Current() && SfxViewShell::Current()->GetPrinter() ) if ( SfxViewShell::Current() && SfxViewShell::Current()->GetPrinter() )
{ {
mpDefPrinter = (Printer*)SfxViewShell::Current()->GetPrinter(); mpDefPrinter = SfxViewShell::Current()->GetPrinter();
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment