From fd94f31209d019899ba57a42da7b66834654a186 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 09:56:41 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/dict/stardict.cc | 14 ++++++-------- src/dict/xdxf.cc | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/dict/stardict.cc b/src/dict/stardict.cc index 9e4fdcdd..c9ef6e72 100644 --- a/src/dict/stardict.cc +++ b/src/dict/stardict.cc @@ -622,13 +622,13 @@ void StardictDictionary::pangoToHtml( QString & text ) int pos = 0; do { auto match = spanRegex.match( text, pos ); - pos = match.capturedStart(); + pos = match.capturedStart(); if ( pos >= 0 ) { QString styles = match.captured( 1 ); QString newSpan( " > makeDictionaries( vector< string > const & f idxHeader.langTo = getLanguageId( str.c_str() ); QRegularExpression regNum( "\\d+" ); - auto match = regNum.match( stream.attributes().value( "revision" ).toString() ); + auto match = regNum.match( stream.attributes().value( "revision" ).toString() ); idxHeader.revisionNumber = match.captured().toUInt(); bool isLogical =