summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-09-28 17:10:43 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-29 22:44:33 +0000
commit0fbdc4d0a07630c390af062d98cbeb7ebc783358 (patch)
tree09c082bbf6eefe9fabd7ca20952ae8d5c6770dda /src
parentRemove unused code (diff)
downloadinkscape-0fbdc4d0a07630c390af062d98cbeb7ebc783358.tar.gz
inkscape-0fbdc4d0a07630c390af062d98cbeb7ebc783358.zip
Comment dead code not used currently
Diffstat (limited to 'src')
-rw-r--r--src/ui/clipboard.cpp2
-rw-r--r--src/ui/tools/text-tool.cpp3
-rw-r--r--src/ui/tools/text-tool.h3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index d17a37535..bdc202588 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -1129,7 +1129,7 @@ bool ClipboardManagerImpl::_pasteText(SPDesktop *desktop)
}
}
return true;
-
+
}
// old(try to parse the text as a color and, if successful, apply it as the current style)
// we realy only want to inherit container style
diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp
index 49df71a4d..380f77666 100644
--- a/src/ui/tools/text-tool.cpp
+++ b/src/ui/tools/text-tool.cpp
@@ -1445,7 +1445,8 @@ SPCSSAttr *sp_text_get_style_at_cursor(ToolBase const *ec)
return true;
}
-std::vector<SPCSSAttr*> sp_text_get_selected_style(ToolBase const *ec, unsigned *k, int *b, std::vector<unsigned> *positions)
+std::vector<SPCSSAttr*> sp_text_get_selected_style(ToolBase const *ec, unsigned *k, int *b, std::vector<unsigned>
+*positions)
{
std::vector<SPCSSAttr*> vec;
SPCSSAttr *css, *css_new;
diff --git a/src/ui/tools/text-tool.h b/src/ui/tools/text-tool.h
index 6f49b3343..9ea353a04 100644
--- a/src/ui/tools/text-tool.h
+++ b/src/ui/tools/text-tool.h
@@ -94,7 +94,8 @@ private:
bool sp_text_paste_inline(ToolBase *ec);
Glib::ustring sp_text_get_selected_text(ToolBase const *ec);
SPCSSAttr *sp_text_get_style_at_cursor(ToolBase const *ec);
-// std::vector<SPCSSAttr*> sp_text_get_selected_style(ToolBase const *ec, unsigned *k, int *b, std::vector<unsigned> *positions);
+// std::vector<SPCSSAttr*> sp_text_get_selected_style(ToolBase const *ec, unsigned *k, int *b, std::vector<unsigned>
+// *positions);
bool sp_text_delete_selection(ToolBase *ec);
void sp_text_context_place_cursor (TextTool *tc, SPObject *text, Inkscape::Text::Layout::iterator where);
void sp_text_context_place_cursor_at (TextTool *tc, SPObject *text, Geom::Point const p);