summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-14 09:05:47 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx-desktop.markerlab.es>2017-09-14 09:05:47 +0000
commitbf5a9dd8028a965e4f072ea45a802b4feb6f821a (patch)
treeed5b50a7d7bedb45d38f603b1122854c321da19f /src/ui
parentFixes for bug #1716926. Consider backport (diff)
downloadinkscape-bf5a9dd8028a965e4f072ea45a802b4feb6f821a.tar.gz
inkscape-bf5a9dd8028a965e4f072ea45a802b4feb6f821a.zip
Added new LPE parameter to store Items array, also bugfixing in patharray parameter
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/clipboard.cpp2
-rw-r--r--src/ui/clipboard.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index 202c8d922..33ad4401c 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -658,7 +658,7 @@ Glib::ustring ClipboardManagerImpl::getShapeOrTextObjectId(SPDesktop *desktop)
* @return A vector containing all IDs or empty if no shape or text item was found.
* type. Set to "*" to retrive all elements of the types vector inside, feel free to populate more
*/
-std::vector<Glib::ustring> ClipboardManagerImpl::getElementsOfType(SPDesktop *desktop, gchar const *type)
+std::vector<Glib::ustring> ClipboardManagerImpl::getElementsOfType(SPDesktop *desktop, gchar const* type)
{
std::vector<Glib::ustring> result;
SPDocument *tempdoc = _retrieveClipboard(); // any target will do here
diff --git a/src/ui/clipboard.h b/src/ui/clipboard.h
index 12dbd51df..390830bba 100644
--- a/src/ui/clipboard.h
+++ b/src/ui/clipboard.h
@@ -51,7 +51,7 @@ public:
virtual bool pastePathEffect(ObjectSet *set) = 0;
virtual Glib::ustring getPathParameter(SPDesktop* desktop) = 0;
virtual Glib::ustring getShapeOrTextObjectId(SPDesktop *desktop) = 0;
- virtual std::vector<Glib::ustring> getElementsOfType(SPDesktop *desktop, gchar const *type = "*") = 0;
+ virtual std::vector<Glib::ustring> getElementsOfType(SPDesktop *desktop, gchar const* type = "*") = 0;
virtual const gchar *getFirstObjectID() = 0;
static ClipboardManager *get();