summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-29 15:47:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-29 21:27:38 +0200
commitae72d8cef6998d84471666ca3088a0f2b43946b7 (patch)
tree27f7c35b7733a6adbe9de813f99b24671077482a /svx/source/fmcomp
parentcba8c5f87c873cd3f5152fefde3ca60da5ecd9f7 (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/source/fmcomp')
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
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);
}
}
}