summaryrefslogtreecommitdiffstats
path: root/src/util/units.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-11-19 20:34:11 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-11-19 20:34:11 +0000
commitcb0223da226fadcedaaae8cadce0c52bb1eeca56 (patch)
treeccddd7c1a17023013a52c9d9203192985a47295b /src/util/units.cpp
parentTests: fix stringstream-test for outputting floating point numbers. At http:/... (diff)
downloadinkscape-cb0223da226fadcedaaae8cadce0c52bb1eeca56.tar.gz
inkscape-cb0223da226fadcedaaae8cadce0c52bb1eeca56.zip
units: remove a remnant from old code. There should be only one UnitTable instantiated.
(bzr r13737)
Diffstat (limited to 'src/util/units.cpp')
-rw-r--r--src/util/units.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/units.cpp b/src/util/units.cpp
index eb4a313e0..3d635e2d2 100644
--- a/src/util/units.cpp
+++ b/src/util/units.cpp
@@ -206,7 +206,6 @@ bool Unit::compatibleWith(Unit const *u) const
}
bool Unit::compatibleWith(Glib::ustring const &u) const
{
- static UnitTable unit_table;
return compatibleWith(unit_table.getUnit(u));
}