summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-05 23:01:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-07 15:18:05 +0100
commitc60dd5d6870c30b239b4ba5ff3100b07a38d0502 (patch)
tree1e6ea19731935eacec27d5767db4fbff51a40dce /sw
parent312653feaccbedb84c4e7d36a30aabc3d8eaaa28 (diff)
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I74769c0d8db208d2a8ee5bdca62f31c08d79d6dd
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/viscrs.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 3bc4b7caef84..bf8da341582a 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -45,6 +45,7 @@
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdrpaintwindow.hxx>
+#include <svx/srchdlg.hxx>
#include <vcl/svapp.hxx>
#include <svx/sdr/overlay/overlayselection.hxx>
#include <overlayrangesoutline.hxx>
@@ -574,7 +575,7 @@ SwCursor* SwShellCrsr::Create( SwPaM* pRing ) const
short SwShellCrsr::MaxReplaceArived()
{
short nRet = RET_YES;
- vcl::Window* pDlg = (vcl::Window*) SwView::GetSearchDialog();
+ vcl::Window* pDlg = SwView::GetSearchDialog();
if( pDlg )
{
// Terminate old actions. The table-frames get constructed and