summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/test/basegfxtools.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/basegfx/test/basegfxtools.cxx b/basegfx/test/basegfxtools.cxx
index a768357c13a5..9c6075919333 100644
--- a/basegfx/test/basegfxtools.cxx
+++ b/basegfx/test/basegfxtools.cxx
@@ -32,14 +32,7 @@ class KeyStopLerpTest : public CppUnit::TestFixture
{
utils::KeyStopLerp maKeyStops;
- static std::vector<double> getTestVector()
- {
- std::vector<double> aStops(3);
- aStops[0] = 0.1;
- aStops[1] = 0.5;
- aStops[2] = 0.9;
- return aStops;
- }
+ static std::vector<double> getTestVector() { return { 0.1, 0.5, 0.9 }; }
public:
KeyStopLerpTest()