diff options
| author | David Faure <[email protected]> | 2023-10-02 16:36:56 +0200 |
|---|---|---|
| committer | David Faure <[email protected]> | 2023-10-02 23:23:01 +0200 |
| commit | 3d631da88bc08816b72493dbce785cabc56b70be (patch) | |
| tree | b5de4a76f98467ae21d96a7e9c7dcd09cdb9d8e0 /src/xml/dom/qdom.cpp | |
| parent | f0f0a5ccb63b367934cc29d6091a782ffc746161 (diff) | |
Fix copy/paste typo in qdom.cpp leading to wrong errorColumn
Detected by KDReports unittests ;-)
Pick-to: 6.5 6.6
Change-Id: I33ab4c16a0fa55d7feffccc807998213132676fb
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/xml/dom/qdom.cpp')
| -rw-r--r-- | src/xml/dom/qdom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 564a34baee7..922d5ee9138 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -6177,7 +6177,7 @@ static inline void unpackParseResult(const QDomDocument::ParseResult &parseResul if (errorLine) *errorLine = static_cast<int>(parseResult.errorLine); if (errorColumn) - *errorColumn = static_cast<int>(parseResult.errorLine); + *errorColumn = static_cast<int>(parseResult.errorColumn); } } |
