summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/editpropertyhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/editpropertyhandler.cxx')
-rw-r--r--extensions/source/propctrlr/editpropertyhandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/editpropertyhandler.cxx b/extensions/source/propctrlr/editpropertyhandler.cxx
index 643e43870640..a1016e2075cd 100644
--- a/extensions/source/propctrlr/editpropertyhandler.cxx
+++ b/extensions/source/propctrlr/editpropertyhandler.cxx
@@ -222,7 +222,7 @@ namespace pcr
if ( aProperties.empty() )
return Sequence< Property >();
- return Sequence< Property >( &(*aProperties.begin()), aProperties.size() );
+ return comphelper::containerToSequence(aProperties);
}
@@ -242,7 +242,7 @@ namespace pcr
}
if ( aSuperseded.empty() )
return Sequence< OUString >();
- return Sequence< OUString >( &(*aSuperseded.begin()), aSuperseded.size() );
+ return comphelper::containerToSequence(aSuperseded);
}
@@ -253,7 +253,7 @@ namespace pcr
if ( implHaveTextTypeProperty() )
aInterestingActuatingProps.push_back( PROPERTY_TEXTTYPE );
aInterestingActuatingProps.push_back( PROPERTY_MULTILINE );
- return Sequence< OUString >( &(*aInterestingActuatingProps.begin()), aInterestingActuatingProps.size() );
+ return comphelper::containerToSequence(aInterestingActuatingProps);
}