Simplify use of OUString::copy
Change-Id: I2220ae614d8bc2f231947ec9336ef42e0e9398f1
This commit is contained in:
@@ -100,7 +100,7 @@ void SvxHyperlinkDocTp::FillDlgFields(const OUString& rStrURL)
|
||||
// set target in document at editfield
|
||||
OUString aStrMark;
|
||||
if ( nPos != -1 && nPos < rStrURL.getLength()-1 )
|
||||
aStrMark = rStrURL.copy( nPos+1, rStrURL.getLength() - nPos - 1 );
|
||||
aStrMark = rStrURL.copy( nPos+1 );
|
||||
maEdTarget.SetText ( aStrMark );
|
||||
|
||||
ModifiedPathHdl_Impl ( NULL );
|
||||
|
Reference in New Issue
Block a user