summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tphatch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/tphatch.cxx')
-rw-r--r--cui/source/tabpages/tphatch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index c386e368c9c4..2be33ae73dae 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -530,7 +530,7 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickAddHdl_Impl)
pHatchingList->Insert( pEntry, nCount );
- aLbHatchings.Append( pEntry );
+ aLbHatchings.Append( *pEntry, pHatchingList->GetUiBitmap( nCount ) );
aLbHatchings.SelectEntryPos( aLbHatchings.GetEntryCount() - 1 );
@@ -603,7 +603,7 @@ IMPL_LINK_NOARG(SvxHatchTabPage, ClickModifyHdl_Impl)
delete pHatchingList->Replace( pEntry, nPos );
- aLbHatchings.Modify( pEntry, nPos );
+ aLbHatchings.Modify( *pEntry, nPos, pHatchingList->GetUiBitmap( nPos ) );
aLbHatchings.SelectEntryPos( nPos );