summaryrefslogtreecommitdiffstats
path: root/src/widgets/stroke-style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/stroke-style.cpp')
-rw-r--r--src/widgets/stroke-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp
index e35a8b36b..12d4002b8 100644
--- a/src/widgets/stroke-style.cpp
+++ b/src/widgets/stroke-style.cpp
@@ -26,6 +26,7 @@
#include "ui/widget/unit-menu.h"
using Inkscape::DocumentUndo;
+using Inkscape::Util::unit_table;
/**
* Creates a new widget for the line stroke paint.
@@ -196,7 +197,6 @@ StrokeStyle::StrokeStyle() :
Gtk::Widget *us = manage(unitSelector);
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
- Inkscape::Util::UnitTable unit_table;
unitSelector->addUnit(unit_table.getUnit("%"));
if (desktop) {
unitSelector->setUnit(sp_desktop_namedview(desktop)->doc_units->abbr);