Commit 5f3a3917 authored by Pino Toscano's avatar Pino Toscano

string -> char for startsWith()

svn path=/trunk/KDE/kdegraphics/okular/; revision=688234
parent 5f38c330
......@@ -732,7 +732,7 @@ bool Converter::convertLink( const QDomElement &element )
if ( type == "note" )
mCursor->insertText( "]" );
if ( href.startsWith( "#" ) ) { // local link
if ( href.startsWith( '#' ) ) { // local link
mLocalLinks.insert( href.mid( 1 ), QPair<int, int>( startPosition, endPosition ) );
} else {
// external link
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment