diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 16:09:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 17:00:58 +0100 |
commit | 178c5d8cfdd77f695bb3dd5ebe44e9ea2a370d68 (patch) | |
tree | c595fb844ae38a5548cf022ca1af00715004174e /sfx2 | |
parent | 8a93ce4c402fc164a86b04973cac924d318b6525 (diff) |
coverity#704795 Unchecked dynamic_cast
Change-Id: I8526944acfb319f3e8e1e1927e94ea44eb59f5d6
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/taskpane.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index 7ea34759c107..67ca5608ed2f 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -245,7 +245,7 @@ namespace sfx2 pWindow->SetHelpId( HID_TASKPANE_WINDOW ); pWindow->SetOutputSizePixel( Size( 300, 450 ) ); - dynamic_cast< SfxDockingWindow* >( pWindow )->Initialize( i_pInfo ); + dynamic_cast<SfxDockingWindow&>(*pWindow).Initialize(i_pInfo); SetHideNotDelete( true ); pWindow->Show(); |