diff options
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index fd1464d5244f..10995e7ad3e0 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -774,11 +774,9 @@ extern "C" void SAL_CALL uno_dumpEnvironmentByName( } else { - OUStringBuffer buf( 32 ); - buf.append( "environment \"" ); - buf.append( pEnvDcp ); - buf.append( "\" does not exist!" ); - writeLine( stream, buf.makeStringAndClear(), pFilter ); + writeLine( + stream, "environment \"" + OUString::unacquired(&pEnvDcp) + "\" does not exist!", + pFilter ); } } |