summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/tests/GraphicsPathTest.cpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-16 03:01:06 +0000
committerNorbert Preining <norbert@preining.info>2020-03-16 03:01:06 +0000
commitd50a41b6ab3d05fe5605a3a3b50ff68f61059296 (patch)
tree29468e087e9c19acf30b392dc705a54288d79137 /dviware/dvisvgm/tests/GraphicsPathTest.cpp
parent87cddce361c3b477029d13b27bdaa57190b2d74b (diff)
CTAN sync 202003160301
Diffstat (limited to 'dviware/dvisvgm/tests/GraphicsPathTest.cpp')
-rw-r--r--dviware/dvisvgm/tests/GraphicsPathTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/dviware/dvisvgm/tests/GraphicsPathTest.cpp b/dviware/dvisvgm/tests/GraphicsPathTest.cpp
index 92420f653e..a6af6cdc77 100644
--- a/dviware/dvisvgm/tests/GraphicsPathTest.cpp
+++ b/dviware/dvisvgm/tests/GraphicsPathTest.cpp
@@ -2,7 +2,7 @@
** GraphicsPathTest.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2019 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -109,8 +109,7 @@ TEST(GraphicsPathTest, computeBBox) {
path.cubicto(5,5,30,10,90,70);
path.lineto(20,30);
path.closepath();
- BoundingBox bbox;
- path.computeBBox(bbox);
+ BoundingBox bbox = path.computeBBox();
EXPECT_EQ(bbox, BoundingBox(5, 5, 100, 100));
}