Skip to content

Commit 43ef3f3

Browse files
committedSep 26, 2017
better doxy description and spelling
1 parent bcd2e04 commit 43ef3f3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
 

‎python/core/qgsvectorlayereditbuffer.sip

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ class QgsVectorLayerEditBuffer : QObject
149149

150150
void updateLayerFields();
151151

152-
/** Apply geom modification basing on provider geometry type.
153-
* Geom is modified only if successful convertion is possibile.
152+
/** Apply geometry modification basing on provider geometry type.
153+
* Geometry is modified or only if successful conversion is possible.
154154
* In case of conversion a message is sent to the log.
155155
* @param geometry pointer to the geometry that should be adapted to provider
156156
* @return bool true if success.
157-
* Success means that input geometry is changed because conversion is applied or
157+
* True: Input geometry is changed because conversion is applied or
158158
* geometry is untouched if geometry conversion is not necessary.
159-
* Fail if conversion is not possible and geometry is untuched.
159+
* False: Conversion is not possible and geometry is untouched.
160160
* @note added in QGIS 2.18.14
161161
*/
162162
bool adaptGeometry( QgsGeometry* geometry );

‎src/core/qgsvectorlayereditbuffer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,14 @@ class CORE_EXPORT QgsVectorLayerEditBuffer : public QObject
178178

179179
void updateLayerFields();
180180

181-
/** Apply geom modification basing on provider geometry type.
182-
* Geom is modified only if successful convertion is possibile.
181+
/** Apply geometry modification basing on provider geometry type.
182+
* Geometry is modified only if successful conversion is possible.
183183
* In case of conversion a message is sent to the log.
184184
* @param geometry pointer to the geometry that should be adapted to provider
185185
* @return bool true if success.
186-
* Success means that input geometry is changed because conversion is applied or
186+
* True: Input geometry is changed because conversion is applied or
187187
* geometry is untouched if geometry conversion is not necessary.
188-
* Fail if conversion is not possible and geometry is untuched.
188+
* False: Conversion is not possible and geometry is untouched.
189189
* @note added in QGIS 2.18.14
190190
*/
191191
bool adaptGeometry( QgsGeometry* geometry );

0 commit comments

Comments
 (0)
Please sign in to comment.