diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-08-03 20:57:37 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-08-03 20:57:37 +0000 |
| commit | 2580137d7c69ba5752ca7ce698d6cf104ff7f00c (patch) | |
| tree | 0e0625f54a21c0390f5b5ec1415bfcaf0e7c00f4 /src/livarot/PathOutline.cpp | |
| parent | fix initialization (diff) | |
| download | inkscape-2580137d7c69ba5752ca7ce698d6cf104ff7f00c.tar.gz inkscape-2580137d7c69ba5752ca7ce698d6cf104ff7f00c.zip | |
fix small "performance" issues (cppcheck)
(bzr r12461)
Diffstat (limited to 'src/livarot/PathOutline.cpp')
| -rw-r--r-- | src/livarot/PathOutline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/livarot/PathOutline.cpp b/src/livarot/PathOutline.cpp index 7f8853e31..3b5ce79f9 100644 --- a/src/livarot/PathOutline.cpp +++ b/src/livarot/PathOutline.cpp @@ -709,9 +709,8 @@ void Path::SubContractOutline(int off, int num_pd, } else if (nbInterm > 1) { Geom::Point bx=curX; Geom::Point cx=curX; - Geom::Point dx=curX; + Geom::Point dx=nData->p; - dx = nData->p; TangentOnBezAt (0.0, curX, *nData, *nBData, false, stPos, stTgt, stTle, stRad); stNor=stTgt.cw(); |
