summaryrefslogtreecommitdiffstats
path: root/cui/source/dialogs/hldoctp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/hldoctp.cxx')
-rw-r--r--cui/source/dialogs/hldoctp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx
index 373bfbc98b12..1353038d6095 100644
--- a/cui/source/dialogs/hldoctp.cxx
+++ b/cui/source/dialogs/hldoctp.cxx
@@ -235,7 +235,7 @@ IMPL_LINK_NOARG(SvxHyperlinkDocTp, ClickTargetHdl_Impl)
if ( GetPathType ( maStrURL ) == Type_ExistsFile ||
maStrURL.isEmpty() ||
maStrURL.equalsIgnoreAsciiCase( sFileScheme ) ||
- maStrURL.indexOf( sHash ) == 0 )
+ maStrURL.startsWith( sHash ) )
{
mpMarkWnd->SetError( LERR_NOERROR );