summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:40:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:38 +0100
commitfb4fec646d20388539c8d294f3e2bc20d0903a2b (patch)
treed55c56adc4c489b3cfe9fc86ede81f089514ee21 /xmlhelp/source/cxxhelp/provider/urlparameter.cxx
parent56a6a6f2094f21cd14628ae9d50725a30a36f274 (diff)
xmlhelp: Use appropriate OUString functions on string constants
Change-Id: I8642ec147cb0dca32dce7ec7f3efec93bcb99cb4
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/urlparameter.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index b0a7b2372365..08cdee89b449 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -610,7 +610,7 @@ bool URLParameter::query()
if( delimIdx == -1 )
{
value = query_.copy( equalIdx + 1 ).trim();
- query_ = "";
+ query_.clear();
}
else
{
@@ -635,7 +635,7 @@ bool URLParameter::query()
if( m_aQuery.isEmpty() )
m_aQuery = value;
else
- m_aQuery += ( OUString( " " ) + value );
+ m_aQuery += " " + value;
}
else if( parameter == "Scope" )
m_aScope = value;