fix-spelling-errors
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Fri, 28 Sep 2018 13:09:34 +0000 (14:09 +0100)
committerRaphaël Hertzog <hertzog@debian.org>
Fri, 28 Sep 2018 13:09:34 +0000 (14:09 +0100)
Gbp-Pq: Name fix-spelling-errors.patch

sources/pyside2/libpyside/pysideproperty.cpp
sources/shiboken2/ApiExtractor/typesystem.cpp

index 279e09ec1157a561afa43a44d7eed5449f05fbf1..a21e2771116b10bcf08431c7b27ddb52b4571a24 100644 (file)
@@ -243,7 +243,7 @@ PyObject* qPropertySetter(PyObject* self, PyObject* callback)
         Py_INCREF(callback);
         return callback;
     } else {
-        PyErr_SetString(PyExc_TypeError, "Invalid property setter agument.");
+        PyErr_SetString(PyExc_TypeError, "Invalid property setter argument.");
         return 0;
     }
 }
@@ -260,7 +260,7 @@ PyObject* qPropertyGetter(PyObject* self, PyObject* callback)
         Py_INCREF(callback);
         return callback;
     } else {
-        PyErr_SetString(PyExc_TypeError, "Invalid property getter agument.");
+        PyErr_SetString(PyExc_TypeError, "Invalid property getter argument.");
         return 0;
     }
 }
@@ -360,7 +360,7 @@ int setValue(PySideProperty* self, PyObject* source, PyObject* value)
         Shiboken::AutoDecRef result(PyObject_CallObject(fset, args));
         return (result.isNull() ? -1 : 0);
     } else {
-        PyErr_SetString(PyExc_AttributeError, "Attibute read only");
+        PyErr_SetString(PyExc_AttributeError, "Attribute read only");
     }
     return -1;
 }
index 8e0e4437a0e2ec51bc19710d65f4ec869cb9d946..d0c62e209279086d348952a21d1ec86f8cd7721b 100644 (file)
@@ -1130,7 +1130,7 @@ bool Handler::startElement(const QStringRef &n, const QXmlStreamAttributes &atts
             } else if (modeName == QLatin1String("replace")) {
                 mode = TypeSystem::DocModificationReplace;
             } else {
-                m_error = QLatin1String("Unknow documentation injection mode: ") + modeName;
+                m_error = QLatin1String("Unknown documentation injection mode: ") + modeName;
                 return false;
             }