diff options
Diffstat (limited to 'cui/source/tabpages/tphatch.cxx')
-rw-r--r-- | cui/source/tabpages/tphatch.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index b806722cd1f3..2c733ad5b6cf 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -595,7 +595,8 @@ IMPL_LINK_NOARG_TYPED(SvxHatchTabPage, ClickDeleteHdl_Impl, SvxPresetListBox*, v if( aQueryBox->Execute() == RET_YES ) { m_pHatchingList->Remove( nPos - 1 ); - m_pHatchLB->RemoveItem( nPos ); + m_pHatchLB->Clear(); + m_pHatchLB->FillPresetListBox( *m_pHatchingList ); m_pHatchLB->SelectItem( 1 ); m_pCtlPreview->Invalidate(); |