summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unofield.cxx
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2012-01-14 00:33:41 -0500
committerAugust Sodora <augsod@gmail.com>2012-01-14 00:33:41 -0500
commite1df68d79b50148078a13436b2b913f28ddf84e4 (patch)
tree1497901481bb127bac9f6422c07fdf03e3014a50 /sw/source/core/unocore/unofield.cxx
parent169f3b47c0ad339c6983de2e19d94627c9e567d3 (diff)
SvStringsDtor->boost::ptr_vector
Diffstat (limited to 'sw/source/core/unocore/unofield.cxx')
-rw-r--r--sw/source/core/unocore/unofield.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 0b2a6fd1f854..2f88674d8585 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -531,7 +531,7 @@ void SwXFieldMaster::setPropertyValue( const OUString& rPropertyName,
sal_Bool bSetValue = sal_True;
if( rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_SUB_TYPE)))
{
- const SvStringsDtor& rExtraArr = SwStyleNameMapper::GetExtraUINameArray();
+ const boost::ptr_vector<String>& rExtraArr(SwStyleNameMapper::GetExtraUINameArray());
String sTypeName = pType->GetName();
static sal_uInt16 nIds[] =
{
@@ -543,7 +543,7 @@ void SwXFieldMaster::setPropertyValue( const OUString& rPropertyName,
};
for(const sal_uInt16 * pIds = nIds; *pIds; ++pIds)
{
- if(sTypeName == *rExtraArr[ *pIds ] )
+ if(sTypeName == rExtraArr[ *pIds ] )
{
bSetValue = sal_False;
break;