summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-06 00:04:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-07 15:18:07 +0100
commit823c76994204e43736252ee4f05f9c7c590ff347 (patch)
tree4d27fc546e55ce3986d1d86d5c777075847d0905 /sw/source/uibase/uiview
parentc10f93bdb8ebd21ecd1b5e06785a5b606575e927 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Ifd28fffddd6abf14ea884f28679ba01b0aa8c8eb
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/viewsrch.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx
index effb2bef9c42..c329193587ad 100644
--- a/sw/source/uibase/uiview/viewsrch.cxx
+++ b/sw/source/uibase/uiview/viewsrch.cxx
@@ -45,6 +45,7 @@
#include <vcl/msgbox.hxx>
#include <vcl/wrkwin.hxx>
#include <editeng/unolingu.hxx>
+#include <edtwin.hxx>
#include <swmodule.hxx>
#include <swwait.hxx>
#include <workctrl.hxx>
@@ -198,7 +199,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
if ( pDlgWrp )
{
m_pSrchDlg = static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
- m_pSrchDlg->SetDocWin( (vcl::Window*)m_pEditWin);
+ m_pSrchDlg->SetDocWin(m_pEditWin);
m_pSrchDlg->SetSrchFlag();
}
}
@@ -225,7 +226,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
if ( pDlgWrp )
{
m_pSrchDlg = static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
- m_pSrchDlg->SetDocWin( (vcl::Window*)m_pEditWin);
+ m_pSrchDlg->SetDocWin(m_pEditWin);
m_pSrchDlg->SetSrchFlag();
}
}
@@ -286,7 +287,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
if ( pDlgWrp )
{
m_pSrchDlg = static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
- m_pSrchDlg->SetDocWin( (vcl::Window*)m_pEditWin);
+ m_pSrchDlg->SetDocWin(m_pEditWin);
m_pSrchDlg->SetSrchFlag();
}
}
@@ -355,7 +356,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
if ( pDlgWrp )
{
m_pSrchDlg = static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
- m_pSrchDlg->SetDocWin( (vcl::Window*)m_pEditWin);
+ m_pSrchDlg->SetDocWin(m_pEditWin);
m_pSrchDlg->SetSrchFlag();
}
#endif