summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-09 21:04:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-02-10 17:38:54 +0100
commit741ef849587078ca9911514afd4c0ecbdec271cc (patch)
tree34e6e1b6ee27f4b828c09648fcb82f397c4539e6
parentb33287cde2d270d83e2658529be768a99dba98f0 (diff)
ofz#1429182 Unchecked dynamic_cast
Change-Id: Id070114568cc1cfac2d09c42a8d17f137f5bb075 Reviewed-on: https://gerrit.libreoffice.org/49525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/qa/extras/tiledrendering/tiledrendering.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 7848a877cf41..68fae582f70a 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -2096,6 +2096,7 @@ void SwTiledRenderingTest::testIMESupport()
SwXTextDocument* pXTextDocument = createDoc("dummy.fodt");
SwView* pView = dynamic_cast<SwView*>(SfxViewShell::Current());
+ assert(pView);
SwWrtShell* pWrtShell = pView->GetWrtShellPtr();
// sequence of chinese IME compositions when 'nihao' is typed in an IME