summaryrefslogtreecommitdiff
path: root/sd/source/ui/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
commit1234f96b963d3bc71736c29b455872447266f11c (patch)
tree1835cdc3334ab8865fa50249a1ac098a604ddf8d /sd/source/ui/app
parent4446cdf20b7b2ef8438058529aeee9b1e1f6549d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0c6d14f0762ae804b931472bc201826821572e3e
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r--sd/source/ui/app/sdmod2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index da621f689b55..35ff9ceb33a8 100644
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -500,7 +500,7 @@ SfxItemSet* SdModule::CreateItemSet( sal_uInt16 nSlot )
sal_Int32 nY;
if( pDocSh )
{
- SdrPage* pPage = (SdrPage*) pDoc->GetSdPage(0, PK_STANDARD);
+ SdrPage* pPage = static_cast<SdrPage*>(pDoc->GetSdPage(0, PK_STANDARD));
Size aSize(pPage->GetSize());
nW = aSize.Width();
nH = aSize.Height();