Kaydet (Commit) f52ae6a8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Simplify use of OUString::copy

Change-Id: I2220ae614d8bc2f231947ec9336ef42e0e9398f1
üst 0b291d42
......@@ -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 );
......
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