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 --- xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index e4f483d24d26..fddd2acacf79 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -282,8 +282,6 @@ rtl::OUString URLParameter::get_the_jar() void URLParameter::readBerkeley() { - static rtl::OUString aQuestionMark("?"); - if( get_id().compareToAscii("") == 0 ) return; @@ -344,9 +342,9 @@ void URLParameter::readBerkeley() if( !aExtensionPath.isEmpty() ) { rtl::OUStringBuffer aExtendedJarStrBuf; - aExtendedJarStrBuf.append( aQuestionMark ); + aExtendedJarStrBuf.append( '?' ); aExtendedJarStrBuf.append( aExtensionPath ); - aExtendedJarStrBuf.append( aQuestionMark ); + aExtendedJarStrBuf.append( '?' ); aExtendedJarStrBuf.append( m_aJar ); m_aJar = aExtendedJarStrBuf.makeStringAndClear(); m_aExtensionRegistryPath = aExtensionRegistryPath; -- cgit