diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-29 15:47:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-29 21:27:38 +0200 |
commit | ae72d8cef6998d84471666ca3088a0f2b43946b7 (patch) | |
tree | 27f7c35b7733a6adbe9de813f99b24671077482a /svx | |
parent | cba8c5f87c873cd3f5152fefde3ca60da5ecd9f7 (diff) |
dynamic_cast followed by static_cast
Change-Id: I63cb568b21f0f645849b39685966d28d16760594
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99706
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 1608d91549f5..585abcdc124d 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -813,7 +813,7 @@ void DbCellControl::implAdjustReadOnly( const Reference< XPropertySet >& _rxMode { _rxModel->getPropertyValue( i_bReadOnly ? OUString(FM_PROP_READONLY) : OUString(FM_PROP_ISREADONLY)) >>= bReadOnly; } - static_cast< Edit* >( m_pWindow.get() )->SetReadOnly( bReadOnly ); + pEditWindow->SetReadOnly(bReadOnly); } } } |