summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-13 18:59:26 +0000
committerJabiertxof <jabier.arraiza@marker.es>2019-09-13 18:59:26 +0000
commit5307fcaec0f5de6897e3b3328ed41cb380951036 (patch)
tree6f0440fd208cbf15c8d50b40ad8ab4bf693288df /src/libnrtype
parentUX improvement for creating/modifying 'inline-size' text. (diff)
downloadinkscape-5307fcaec0f5de6897e3b3328ed41cb380951036.tar.gz
inkscape-5307fcaec0f5de6897e3b3328ed41cb380951036.zip
Refactor of prepare inner and some comments
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG-Input.cpp12
-rw-r--r--src/libnrtype/Layout-TNG.h7
2 files changed, 0 insertions, 19 deletions
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<InputWrapShape> _input_wrap_shapes;
- std::vector<InputWrapShape> _input_wrap_shapes_hided;
// ******************* output