summaryrefslogtreecommitdiff
path: root/svtools/source/dialogs/PlaceEditDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/dialogs/PlaceEditDialog.cxx')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 80df9d61c87c..f006f82c84a7 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -298,7 +298,7 @@ IMPL_LINK_NOARG( PlaceEditDialog, EditHdl, DetailsContainer*, void )
if( nLength < 0 )
nLength = sUser.getLength();
- sLabel = sLabel.replaceFirst( "$user$", sUser.copy( 0, nLength ) );
+ sLabel = sLabel.replaceFirst( "$user$", sUser.subView( 0, nLength ) );
sLabel = sLabel.replaceFirst( "$service$", m_xLBServerType->get_active_text() );
m_xEDServerName->set_text( sLabel );