summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx10
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.hxx14
2 files changed, 12 insertions, 12 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index d6efc1915d4f..5b8626d74e39 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -76,9 +76,9 @@ namespace chelp {
~StaticModuleInformation() { }
- OUString get_title() const { return m_aTitle; }
- OUString get_id() const { return m_aStartId; }
- OUString get_program() const { return m_aProgramSwitch; }
+ const OUString& get_title() const { return m_aTitle; }
+ const OUString& get_id() const { return m_aStartId; }
+ const OUString& get_program() const { return m_aProgramSwitch; }
int get_order() const { return m_nOrder; }
}; // end class StaticModuleInformation
@@ -226,8 +226,8 @@ namespace chelp {
void replaceName( OUString& oustring ) const;
- OUString getProductName() const { return m_vReplacement[0]; }
- OUString getProductVersion() const { return m_vReplacement[1]; }
+ const OUString& getProductName() const { return m_vReplacement[0]; }
+ const OUString& getProductVersion() const { return m_vReplacement[1]; }
OUString expandURL( const OUString& aURL );
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
index 044b92206c40..3d48807b0fc7 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.hxx
@@ -129,15 +129,15 @@ namespace chelp {
OUString get_path() { return get_the_path(); }
- OUString get_eid() const { return m_aEid; }
+ const OUString& get_eid() const { return m_aEid; }
OUString get_title();
OUString get_jar() { return get_the_jar(); }
- OUString get_ExtensionRegistryPath() const { return m_aExtensionRegistryPath; }
+ const OUString& get_ExtensionRegistryPath() const { return m_aExtensionRegistryPath; }
- OUString get_module() const { return m_aModule; }
+ const OUString& get_module() const { return m_aModule; }
OUString get_dbpar() const
{
@@ -147,17 +147,17 @@ namespace chelp {
return m_aModule;
}
- OUString get_prefix() const { return m_aPrefix; }
+ const OUString& get_prefix() const { return m_aPrefix; }
OUString get_language();
OUString get_program();
- OUString get_query() const { return m_aQuery; }
+ const OUString& get_query() const { return m_aQuery; }
- OUString get_scope() const { return m_aScope; }
+ const OUString& get_scope() const { return m_aScope; }
- OUString get_system() const { return m_aSystem; }
+ const OUString& get_system() const { return m_aSystem; }
sal_Int32 get_hitCount() const { return m_nHitCount; }