summaryrefslogtreecommitdiffstats
path: root/src/object/sp-flowtext.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
commit03c35f6065f45346634cdcd8a9d13e4f167549c0 (patch)
tree3a892c439d37cff565592d93e124137e70a42c31 /src/object/sp-flowtext.cpp
parentAdd new style register style property for stop color and opacity (diff)
downloadinkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.tar.gz
inkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.zip
SPAttributeEnum typed function arguments
Diffstat (limited to 'src/object/sp-flowtext.cpp')
-rw-r--r--src/object/sp-flowtext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-flowtext.cpp b/src/object/sp-flowtext.cpp
index c24b7689b..865e24253 100644
--- a/src/object/sp-flowtext.cpp
+++ b/src/object/sp-flowtext.cpp
@@ -145,7 +145,7 @@ void SPFlowtext::build(SPDocument* doc, Inkscape::XML::Node* repr) {
this->readAttr( "inkscape:layoutOptions" ); // must happen after css has been read
}
-void SPFlowtext::set(unsigned int key, const gchar* value) {
+void SPFlowtext::set(SPAttributeEnum key, const gchar* value) {
switch (key) {
case SP_ATTR_LAYOUT_OPTIONS: {
// deprecated attribute, read for backward compatibility only