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 17a9f94f6952..84f2c4cacc49 100644 --- a/include/svx/SvxPresetListBox.hxx +++ b/include/svx/SvxPresetListBox.hxx @@ -63,6 +63,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 FillPresetListBox(XPatternList& pList, sal_uInt32 nStartIndex = 1); void DrawLayout(); }; diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx index df85e1f34f2a..c93f9697f0bd 100644 --- a/svx/source/tbxctrls/SvxPresetListBox.cxx +++ b/svx/source/tbxctrls/SvxPresetListBox.cxx @@ -116,6 +116,11 @@ void SvxPresetListBox::FillPresetListBox(XBitmapList& pList, sal_uInt32 nStartIn FillPresetListBoxImpl< XBitmapList, XBitmapEntry >( pList, nStartIndex ); } +void SvxPresetListBox::FillPresetListBox(XPatternList& pList, sal_uInt32 nStartIndex) +{ + FillPresetListBoxImpl< XPatternList, XBitmapEntry >( pList, nStartIndex ); +} + IMPL_LINK_TYPED(SvxPresetListBox, OnMenuItemSelected, Menu*, pMenu, bool) { if( pMenu == nullptr ) |