diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-07 14:44:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-08 08:18:03 +0100 |
commit | 33897a3dce5d31d0b869bc1507eed2ddcd3b1664 (patch) | |
tree | ab5375d56160e4e5a4a25e9dbd5f94d3678ad487 /vcl/source/treelist | |
parent | cc772833a1166151bac2911037659582df655bcf (diff) |
loplugin:fieldcast in SvTreeListBox
Change-Id: I9a0053ff196e45a2d13ca2406ff67c8d95180b11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159094
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/treelist')
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index e944214c5b88..b97abc33333b 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -2459,7 +2459,7 @@ void SvTreeListBox::EditedText( const OUString& rStr ) { if( EditedEntry( pEdEntry, rStr ) ) { - static_cast<SvLBoxString*>(pEdItem)->SetText( rStr ); + pEdItem->SetText( rStr ); pModel->InvalidateEntry( pEdEntry ); } if( GetSelectionCount() == 0 ) |