Kaydet (Commit) 32e0518a authored tarafından Caolán McNamara's avatar Caolán McNamara

GetCharPos returns EDIT_NOLIMIT on failure

Change-Id: Ie65526e66a71561aa64ed3517097d1274ffe7db4
üst d4f94182
......@@ -385,7 +385,7 @@ namespace pcr
bool HyperlinkInput::impl_textHitTest( const ::Point& _rWindowPos )
{
sal_Int32 nPos = GetCharPos( _rWindowPos );
return ( ( nPos != STRING_LEN ) && ( nPos < GetText().getLength() ) );
return ( ( nPos != EDIT_NOLIMIT ) && ( nPos < GetText().getLength() ) );
}
//--------------------------------------------------------------------
......
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