From 057ce311f2142012e0d2dece0367edf78af2e2b5 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Mon, 3 Dec 2018 20:56:21 +0100 Subject: Minor comment/alignment changes. --- src/object/sp-item.cpp | 2 +- src/object/sp-item.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index 6a9bd9615..d6d1bdf56 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -1193,7 +1193,7 @@ void SPItem::hide(unsigned int /*key*/) { void SPItem::invoke_hide(unsigned key) { - this->hide(key); + this->hide(key); SPItemView *ref = nullptr; SPItemView *v = display; diff --git a/src/object/sp-item.h b/src/object/sp-item.h index 7d9ecd44f..9b225a4bd 100644 --- a/src/object/sp-item.h +++ b/src/object/sp-item.h @@ -314,7 +314,10 @@ public: static unsigned int display_key_new(unsigned int numkeys); Inkscape::DrawingItem *invoke_show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags); + + // Removed item from display tree. void invoke_hide(unsigned int key); + void getSnappoints(std::vector &p, Inkscape::SnapPreferences const *snapprefs=nullptr) const; void adjust_pattern(/* Geom::Affine const &premul, */ Geom::Affine const &postmul, bool set = false, PatternTransform = TRANSFORM_BOTH); void adjust_gradient(/* Geom::Affine const &premul, */ Geom::Affine const &postmul, bool set = false); -- cgit v1.2.3