summaryrefslogtreecommitdiffstats
path: root/svgio/source/svgreader/svggradientnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svggradientnode.cxx')
-rw-r--r--svgio/source/svgreader/svggradientnode.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx
index 675a648393d0..81617c8814dc 100644
--- a/svgio/source/svgreader/svggradientnode.cxx
+++ b/svgio/source/svgreader/svggradientnode.cxx
@@ -289,11 +289,10 @@ namespace svgio
fOffset = 1.0;
}
- aVector.push_back(
- drawinglayer::primitive2d::SvgGradientEntry(
+ aVector.emplace_back(
fOffset,
pStyle->getStopColor(),
- pStyle->getStopOpacity().solve(*this)));
+ pStyle->getStopOpacity().solve(*this));
}
else
{