include/svx/SvxPresetListBox.hxx | 1 + svx/source/tbxctrls/SvxPresetListBox.cxx | 5 +++++ 2 files changed, 6 insertions(+)
New commits: commit 83a0ba1207a66d423350846b3f9c2f148602edd4 Author: Rishabh Kumar <kris.kr...@gmail.com> Date: Wed Jul 20 01:01:19 2016 +0530 Add XPatternList to SvxPresetListBox Change-Id: I39bbf28c4468123c853577f7d7e94d619ec7da3b Reviewed-on: https://gerrit.libreoffice.org/27324 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx index 17a9f94..84f2c4c 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 df85e1f..c93f969 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits