summaryrefslogtreecommitdiff
path: root/rsc/inc/rsctree.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/inc/rsctree.hxx')
-rw-r--r--rsc/inc/rsctree.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/inc/rsctree.hxx b/rsc/inc/rsctree.hxx
index 2fbd36575583..b5691980db94 100644
--- a/rsc/inc/rsctree.hxx
+++ b/rsc/inc/rsctree.hxx
@@ -86,7 +86,7 @@ public:
StringNode(const OString& rStr) { m_aName = rStr; }
StringNode* Search( const char * ) const;
- OString GetName() const { return m_aName; }
+ const OString& GetName() const { return m_aName; }
};
#endif // INCLUDED_RSC_INC_RSCTREE_HXX