summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx6
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.hxx8
-rw-r--r--xmlhelp/source/treeview/tvread.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 471ffc6a5008..7792e65e4dcb 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -127,7 +127,7 @@ OString URLParameter::getByName( const char* par )
}
-OUString URLParameter::get_id()
+OUString const & URLParameter::get_id()
{
if( m_aId == "start" )
{ // module is set
@@ -171,7 +171,7 @@ OUString URLParameter::get_title()
}
-OUString URLParameter::get_language()
+OUString const & URLParameter::get_language()
{
if( m_aLanguage.isEmpty() )
return m_aDefaultLanguage;
@@ -180,7 +180,7 @@ OUString URLParameter::get_language()
}
-OUString URLParameter::get_program()
+OUString const & URLParameter::get_program()
{
if( m_aProgram.isEmpty() )
{
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
index 3d48807b0fc7..294a47396641 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
@@ -121,7 +121,7 @@ namespace chelp {
bool isRoot() const { return m_aModule.isEmpty(); }
bool isErrorDocument();
- OUString get_id();
+ OUString const & get_id();
OUString get_tag();
@@ -139,7 +139,7 @@ namespace chelp {
const OUString& get_module() const { return m_aModule; }
- OUString get_dbpar() const
+ OUString const & get_dbpar() const
{
if( !m_aDbPar.isEmpty() )
return m_aDbPar;
@@ -149,9 +149,9 @@ namespace chelp {
const OUString& get_prefix() const { return m_aPrefix; }
- OUString get_language();
+ OUString const & get_language();
- OUString get_program();
+ OUString const & get_program();
const OUString& get_query() const { return m_aQuery; }
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index c93e5b90b94a..b3b0f1569f12 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -126,7 +126,7 @@ namespace treeview {
RTL_TEXTENCODING_UTF8 );
}
- OUString getTargetURL()
+ OUString const & getTargetURL()
{
if( targetURL.isEmpty() )
{