diff options
-rw-r--r-- | include/vcl/toolkit/treelistbox.hxx | 2 | ||||
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx index da6785679ad5..ecbd489fd853 100644 --- a/include/vcl/toolkit/treelistbox.hxx +++ b/include/vcl/toolkit/treelistbox.hxx @@ -229,7 +229,7 @@ class VCL_DLLPUBLIC SvTreeListBox sal_Int8 mnDragAction; SvTreeListEntry* pEdEntry; - SvLBoxItem* pEdItem; + SvLBoxString* pEdItem; rtl::Reference<TransferDataContainer> m_xTransferHelper; 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 ) |