diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-06 00:00:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-07 15:18:06 +0100 |
commit | c10f93bdb8ebd21ecd1b5e06785a5b606575e927 (patch) | |
tree | 3fdd31feb204bce4a988d1945596687ef4494cf0 /sw | |
parent | 6a2affb8659c0b96a35b99d51dc7415e2ed63511 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Iffba3808e2a46270ae13d0a3dce6d0453e096f07
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/app/docsh2.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index 6246434e2b6f..9bb10f182e6b 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -25,6 +25,7 @@ #include <comphelper/processfactory.hxx> +#include <edtwin.hxx> #include <hintids.hxx> #include <tools/urlobj.hxx> #include <unotools/tempfile.hxx> @@ -814,7 +815,7 @@ void SwDocShell::Execute(SfxRequest& rReq) pClipCntnr->CopyAnyData( FORMAT_RTF, (sal_Char*) pStrm->GetData(), pStrm->GetEndOfData() ); pClipCntnr->CopyToClipboard( - GetView()? (vcl::Window*)&GetView()->GetEditWin() : 0 ); + GetView()? &GetView()->GetEditWin() : 0 ); delete pStrm; } } @@ -1482,7 +1483,7 @@ SfxInPlaceClient* SwDocShell::GetIPClient( const ::svt::EmbeddedObjectRef& xObjR SwWrtShell* pShell = GetWrtShell(); if ( pShell ) { - pResult = pShell->GetView().FindIPClient( xObjRef.GetObject(), (vcl::Window*)&pShell->GetView().GetEditWin() ); + pResult = pShell->GetView().FindIPClient( xObjRef.GetObject(), &pShell->GetView().GetEditWin() ); if ( !pResult ) pResult = new SwOleClient( &pShell->GetView(), &pShell->GetView().GetEditWin(), xObjRef ); } |