diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-06-11 15:44:56 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-06-11 18:12:48 +0200 |
commit | b49fce18d0b05a8b5f462ba9bf6c84f0bb107d93 (patch) | |
tree | 5467d582e25cba593d89f22835fe0f8f2f697c12 /basegfx | |
parent | 513b54df70b5b9cde8d6ca2304378949256eea1d (diff) |
Simplify vector initializations
Change-Id: Icf8972be204799e9b3b3824ab18d8584911fe1c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117061
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/test/basegfxtools.cxx | 9 |
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() |