diff options
-rw-r--r-- | include/svx/SvxPresetListBox.hxx | 1 | ||||
-rw-r--r-- | svx/source/tbxctrls/SvxPresetListBox.cxx | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx index 38e8d2b14e9a..378c9c0f334a 100644 --- a/include/svx/SvxPresetListBox.hxx +++ b/include/svx/SvxPresetListBox.hxx @@ -59,6 +59,7 @@ public: void FillPresetListBox(XGradientList& pList, sal_uInt32 nStartIndex = 1); void FillPresetListBox(XHatchList& pList, sal_uInt32 nStartIndex = 1); + void FillPresetListBox(XBitmapList& pList, sal_uInt32 nStartIndex = 1); void DrawLayout(); }; diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx index 3607c3088d97..4492ace01537 100644 --- a/svx/source/tbxctrls/SvxPresetListBox.cxx +++ b/svx/source/tbxctrls/SvxPresetListBox.cxx @@ -108,6 +108,11 @@ void SvxPresetListBox::FillPresetListBox(XHatchList& pList, sal_uInt32 nStartInd FillPresetListBoxImpl< XHatchList, XHatchEntry>( pList, nStartIndex ); } +void SvxPresetListBox::FillPresetListBox(XBitmapList& pList, sal_uInt32 nStartIndex) +{ + FillPresetListBoxImpl< XBitmapList, XBitmapEntry >( pList, nStartIndex ); +} + IMPL_LINK_TYPED(SvxPresetListBox, OnMenuItemSelected, Menu*, pMenu, bool) { if( pMenu == nullptr ) |