From 5307fcaec0f5de6897e3b3328ed41cb380951036 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Fri, 13 Sep 2019 20:59:26 +0200 Subject: Refactor of prepare inner and some comments --- src/libnrtype/Layout-TNG-Input.cpp | 12 ------------ src/libnrtype/Layout-TNG.h | 7 ------- 2 files changed, 19 deletions(-) (limited to 'src/libnrtype') diff --git a/src/libnrtype/Layout-TNG-Input.cpp b/src/libnrtype/Layout-TNG-Input.cpp index 7a01d4ca2..b523649e7 100644 --- a/src/libnrtype/Layout-TNG-Input.cpp +++ b/src/libnrtype/Layout-TNG-Input.cpp @@ -115,18 +115,6 @@ void Layout::appendControlCode(TextControlCode code, void *source_cookie, double _input_stream.push_back(new_code); } -void Layout::hideWrapShapes() -{ - _input_wrap_shapes_hided = _input_wrap_shapes; - _input_wrap_shapes.clear(); -} - -void Layout::showWrapShapes() -{ - _input_wrap_shapes = _input_wrap_shapes_hided; - _input_wrap_shapes_hided.clear(); -} - // more saving of the parameters void Layout::appendWrapShape(Shape const *shape, DisplayAlign display_align) { diff --git a/src/libnrtype/Layout-TNG.h b/src/libnrtype/Layout-TNG.h index 4f5c8ef74..2d0e37834 100644 --- a/src/libnrtype/Layout-TNG.h +++ b/src/libnrtype/Layout-TNG.h @@ -303,12 +303,6 @@ public: */ void appendWrapShape(Shape const *shape, DisplayAlign display_align = DISPLAY_ALIGN_BEFORE); - // Hide wrap shapes - void hideWrapShapes(); - - // Show wrap shapes - void showWrapShapes(); - // ************************** textLength and friends ************************* /** Gives the length target of this layout, as given by textLength attribute. @@ -803,7 +797,6 @@ private: DisplayAlign display_align; /// as passed to Layout::appendWrapShape() }; std::vector _input_wrap_shapes; - std::vector _input_wrap_shapes_hided; // ******************* output -- cgit v1.2.3