diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 12:26:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 09:38:25 +0200 |
commit | 0628e615f0c2471d58f3e61ca868eaff6f95711f (patch) | |
tree | dfa5bb31eccf24f691f0bd00b7fc108be51f5310 /sw/source/uibase | |
parent | 5b52057a64ba9e78cf16c682e15f827d12a0e62e (diff) |
cid#1448363 Unchecked dynamic_cast
Change-Id: Ibfa31b291f58c90f052f1d052b6294e8c544965c
Reviewed-on: https://gerrit.libreoffice.org/75918
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 3cc3be15ed9e..b5acb1ee9ce2 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -1371,7 +1371,7 @@ void SwTextShell::Execute(SfxRequest &rReq) rWrtSh.InvalidateWindows( rWrtSh.GetView().GetVisArea() ); rWrtSh.UpdateCursor(); // cursor position might be invalid // Hide the button here and make it visible later, to make transparent background work with SAL_USE_VCLPLUGIN=gen - dynamic_cast<::sw::mark::DropDownFieldmark*>(pFieldBM)->HideButton(); + dynamic_cast<::sw::mark::DropDownFieldmark&>(*pFieldBM).HideButton(); } } else if ( pFieldBM && pFieldBM->GetFieldname() == ODF_FORMDATE ) |