diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-06-25 19:58:20 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-08-05 00:38:53 +0000 |
| commit | d119fffbaf3a19c463edb28b232015cb40880445 (patch) | |
| tree | c2dd998e9dfd73d9b2d9c2ab167a3d8f881f265a /src/object/sp-item.cpp | |
| parent | Update to trunk and styling fixes (diff) | |
| download | inkscape-d119fffbaf3a19c463edb28b232015cb40880445.tar.gz inkscape-d119fffbaf3a19c463edb28b232015cb40880445.zip | |
Fixes pointed by Tav
Diffstat (limited to 'src/object/sp-item.cpp')
| -rw-r--r-- | src/object/sp-item.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index 7d7edcc97..3b6329436 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -22,7 +22,6 @@ #include "bad-uri-exception.h" #include "svg/svg.h" -#include "svg/css-ostringstream.h" #include "print.h" #include "display/drawing-item.h" #include "attributes.h" @@ -1309,9 +1308,7 @@ void SPItem::adjust_stroke( gdouble ex ) if ( !style->stroke_dasharray.values.empty() ) { for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) { double dash = style->stroke_dasharray.values[i].value * ex; - Inkscape::CSSOStringStream osarray; - osarray << dash; - style->stroke_dasharray.values[i].read(osarray.str().c_str()); + style->stroke_dasharray.values[i].setDouble(dash); } style->stroke_dashoffset.value *= ex; } |
