From 20124293ed6d8a13ebbcce7a184a8fd6af324bac Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 18 Jan 2012 00:20:30 +0100 Subject: clean up after myself... (bzr r10903) --- src/sp-path.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/sp-path.cpp') diff --git a/src/sp-path.cpp b/src/sp-path.cpp index d5969e339..4ddfc77ea 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -488,9 +488,6 @@ SPCurve * SPPath::get_original_curve () const */ SPCurve* SPPath::get_curve_for_edit () const { - if (!SP_IS_PATH(this)) { - return NULL; - } if (_curve_before_lpe && sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(this))) { return get_original_curve(); } else { @@ -504,9 +501,6 @@ SPCurve* SPPath::get_curve_for_edit () const */ const SPCurve* SPPath::get_curve_reference () const { - if (!SP_IS_PATH(this)) { - return NULL; - } if (_curve_before_lpe && sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(this))) { return _curve_before_lpe; } else { @@ -520,9 +514,6 @@ const SPCurve* SPPath::get_curve_reference () const */ SPCurve* SPPath::get_curve () { - if (!SP_IS_PATH(this)) { - return NULL; - } if (_curve_before_lpe && sp_lpe_item_has_path_effect_recursive(SP_LPE_ITEM(this))) { return _curve_before_lpe; } else { -- cgit v1.2.3