From 2419fa71d8b2223a50f596d5db7721f6213d4f87 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 14 Sep 2018 14:43:07 +0100 Subject: add image support to weld::ComboBoxText MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie7f00ed4aef5318a525a526d0377bb7952bdd5a0 Reviewed-on: https://gerrit.libreoffice.org/60499 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svtools/source/control/ctrlbox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 530a9a6b95f4..75ac23aed95f 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -1840,7 +1840,7 @@ void SvtFontSizeBox::Fill( const FontMetric* pFontMetric, const FontList* pList OUString aSizeName = aFontSizeNames.GetIndexName( i ); sal_IntPtr nSize = aFontSizeNames.GetIndexSize( i ); OUString sId(OUString::number(-nSize)); // mark as special - m_xComboBox->insert(nPos, sId, aSizeName); + m_xComboBox->insert(nPos, sId, aSizeName, nullptr); nPos++; } } @@ -1854,7 +1854,7 @@ void SvtFontSizeBox::Fill( const FontMetric* pFontMetric, const FontList* pList if ( !aSizeName.isEmpty() ) { OUString sId(OUString::number(-(*pTempAry))); // mark as special - m_xComboBox->insert(nPos, sId, aSizeName); + m_xComboBox->insert(nPos, sId, aSizeName, nullptr); nPos++; } pTempAry++; -- cgit