Code

use if(dynamic_cast<>) instead of if(typeid==) to check 2geom segment types for strai...
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 4 Jul 2008 22:52:34 +0000 (22:52 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 4 Jul 2008 22:52:34 +0000 (22:52 +0000)
commit8eb8a534b36d267df08b0067406586be3c0d4d23
tree5df6d56bd48cfa27557aaf90bf2db7a97197debb
parent1a32c2168b3c9c2150ffe55b7ec8e2c52805fb3a
use if(dynamic_cast<>) instead of if(typeid==) to check 2geom segment types for straightlines. this because the closing line segment is special class ClosingSegment : public LineSegment.
src/display/inkscape-cairo.cpp
src/display/nr-arena-shape.cpp
src/helper/geom.cpp
src/livarot/PathCutting.cpp