diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2014-03-10 12:05:32 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 05:47:06 -0500 |
commit | fc4ce3f5d0c630623eca5b55f8083d54e5beeeee (patch) | |
tree | 51694744ffaa9444bcfa45f2408aa492c5bde3e6 /cui | |
parent | 3ba58a22bdd51cd4221547e0a0e95b6d2b987358 (diff) |
fdo#75968 Fix OUString conversion
Change-Id: Ie865b16c163d47de34ab2fe23bb7432b7710877f
Reviewed-on: https://gerrit.libreoffice.org/8510
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hldoctp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index c216d25064c3..8148680db6e4 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -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() ); + aStrMark = rStrURL.copy( nPos+1, rStrURL.getLength() - nPos - 1 ); maEdTarget.SetText ( aStrMark ); ModifiedPathHdl_Impl ( NULL ); |