summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 16:39:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-05 16:39:30 +0100
commit48637482d2fb22baef261238f17df00f0149dd08 (patch)
tree9e0d7a8c83eccbfa1ba01815888bc5d0c1921e81 /cui
parentfdo#83752: date-time cell becomes text string when editing, zh_CN locale (diff)
downloadcore-48637482d2fb22baef261238f17df00f0149dd08.tar.gz
core-48637482d2fb22baef261238f17df00f0149dd08.zip
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I45e34a9369b31fa284bc0fc0176c7efd81b527d4
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/page.cxx3
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
{