summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlexppr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlexppr.cxx')
-rw-r--r--xmloff/source/style/xmlexppr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 7601bf1f12c6..133168967fb7 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -145,8 +145,7 @@ void XMLPropertyStates_Impl::FillPropertyStateVector(
{
if (nCount)
{
- rVector.resize(nCount, XMLPropertyState(-1));
- ::std::copy( aPropStates.begin(), aPropStates.end(), rVector.begin() );
+ rVector.insert( rVector.begin(), aPropStates.begin(), aPropStates.end() );
}
}