mediawiki: use a character literal
Change-Id: I1dadf4f905fcf06aee616cc0cfea3d77a145a3a1 Reviewed-on: https://gerrit.libreoffice.org/11371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
@@ -341,7 +341,7 @@ public class Helper
|
||||
int nURL = sWebPage.indexOf( "URL=", nContent );
|
||||
if ( nURL > 0 )
|
||||
{
|
||||
int nEndURL = sWebPage.indexOf( "\"", nURL );
|
||||
int nEndURL = sWebPage.indexOf('"', nURL );
|
||||
if ( nEndURL > 0 )
|
||||
sResultURL = sWebPage.substring( nURL + 4, nEndURL );
|
||||
}
|
||||
|
@@ -146,7 +146,7 @@ public class WikiArticle
|
||||
if ( iPosStart >= 0 && iPosEnd > 0 )
|
||||
{
|
||||
String sArticle = sWebPage.substring(iPosStart, iPosEnd);
|
||||
iPosStart = sArticle.indexOf(">") + 1;
|
||||
iPosStart = sArticle.indexOf('>') + 1;
|
||||
sWikiCode = sArticle.substring( iPosStart, sArticle.length() );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user