summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 8a395226e99f..05b7f1dbb1e9 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -378,12 +378,10 @@ bool URLParameter::scheme()
m_aExpr.copy(sal::static_int_cast<sal_uInt32>(nLen) - 6);
if( aLastStr == "DbPAR=" )
{
- OUString aNewExpr = m_aExpr.copy( 0, 20 );
- OUString aSharedStr("shared");
- aNewExpr += aSharedStr;
- aNewExpr += m_aExpr.copy( 20 );
- aNewExpr += aSharedStr;
- m_aExpr = aNewExpr;
+ m_aExpr = m_aExpr.copy( 0, 20 ) +
+ "shared" +
+ m_aExpr.copy( 20 ) +
+ "shared";
}
}