diff options
Diffstat (limited to 'vcl/unx/generic/app/sm.cxx')
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index 136cf0d2559b..b6a4c4ad474f 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -224,9 +224,7 @@ static void BuildSmPropertyList() pSmProps[ eRestartCommand ].vals = new SmPropValue[3]; pSmProps[ eRestartCommand ].vals[0].length = aExec.getLength()+1; pSmProps[ eRestartCommand ].vals[0].value = strdup( aExec.getStr() ); - OStringBuffer aRestartOption; - aRestartOption.append("--session="); - aRestartOption.append(SessionManagerClient::getSessionID()); + OString aRestartOption = "--session=" + SessionManagerClient::getSessionID(); pSmProps[ eRestartCommand ].vals[1].length = aRestartOption.getLength()+1; pSmProps[ eRestartCommand ].vals[1].value = strdup(aRestartOption.getStr()); OString aRestartOptionNoLogo("--nologo"); |