summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-03 12:03:14 +0200
committerNoel Grandin <noel@peralex.com>2015-12-03 13:57:23 +0200
commite6721d2d17f5f34dcac14c3379521bb7fb6b8c03 (patch)
treebba3964ac2a6dd225d8087aa01594ea717d2a359 /cui
parentea297dd2020c03673745428381e8a2b11b83f23b (diff)
uno::Sequence->std::vector in SfxIntegerListItem
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/border.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 1c3f2a5ea1fe..180fd28238b2 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -162,8 +162,7 @@ SvxBorderTabPage::SvxBorderTabPage(vcl::Window* pParent, const SfxItemSet& rCore
if (rCoreAttrs.HasItem(SID_ATTR_BORDER_STYLES, &pItem))
{
const SfxIntegerListItem* p = static_cast<const SfxIntegerListItem*>(pItem);
- std::vector<sal_Int32> aUsedStyles;
- p->GetList(aUsedStyles);
+ std::vector<sal_Int32> aUsedStyles = p->GetList();
for (size_t i = 0, n = aUsedStyles.size(); i < n; ++i)
maUsedBorderStyles.insert(static_cast<sal_Int16>(aUsedStyles[i]));
}