diff options
Diffstat (limited to 'svx/source/tbxctrls/SvxColorValueSet.cxx')
-rw-r--r-- | svx/source/tbxctrls/SvxColorValueSet.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index ffdbdab668eb..88fea76fcc19 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -113,27 +113,6 @@ void ColorValueSet::addEntriesForColorSet(const std::set<Color>& rColorSet, cons } } -void SvxColorValueSet::addEntriesForColorSet(const std::set<Color>& rColorSet, const OUString& rNamePrefix) -{ - sal_uInt32 nStartIndex = 1; - if(rNamePrefix.getLength() != 0) - { - for(const auto& rColor : rColorSet) - { - InsertItem(nStartIndex, rColor, rNamePrefix + OUString::number(nStartIndex)); - nStartIndex++; - } - } - else - { - for(const auto& rColor : rColorSet) - { - InsertItem(nStartIndex, rColor, ""); - nStartIndex++; - } - } -} - Size ColorValueSet::layoutAllVisible(sal_uInt32 nEntryCount) { if(!nEntryCount) |