From 2c757293b819118780eef3a30bb4434528d38673 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 25 Jun 2012 12:50:46 +0100 Subject: reduce static_initialization_and_destruction chain Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a --- comphelper/source/streaming/memorystream.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx index 74879e4450ce..ac6148a38cee 100644 --- a/comphelper/source/streaming/memorystream.cxx +++ b/comphelper/source/streaming/memorystream.cxx @@ -221,8 +221,7 @@ void SAL_CALL UNOMemoryStream::truncate() throw (IOException, RuntimeException) ::rtl::OUString SAL_CALL UNOMemoryStream::getImplementationName_static() { - static const OUString sImplName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.MemoryStream" ) ); - return sImplName; + return ::rtl::OUString("com.sun.star.comp.MemoryStream"); } Sequence< ::rtl::OUString > SAL_CALL UNOMemoryStream::getSupportedServiceNames_static() -- cgit