summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
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/docshell
parent4446cdf20b7b2ef8438058529aeee9b1e1f6549d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0c6d14f0762ae804b931472bc201826821572e3e
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index bed2fd7b4e97..3b568abd2f70 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -343,7 +343,7 @@ bool DrawDocShell::LoadFrom( SfxMedium& rMedium )
WaitObject* pWait = NULL;
if( mpViewShell )
- pWait = new WaitObject( (vcl::Window*) mpViewShell->GetActiveWindow() );
+ pWait = new WaitObject( static_cast<vcl::Window*>(mpViewShell->GetActiveWindow()) );
mpDoc->NewOrLoadCompleted( NEW_DOC );
mpDoc->CreateFirstPages();