diff options
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r-- | sw/inc/hints.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 6294d6a1c2f9..2748fa02abc1 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -255,7 +255,7 @@ class SwStringMsgPoolItem : public SwMsgPoolItem OUString m_sStr; public: - OUString GetString() const { return m_sStr; } + const OUString& GetString() const { return m_sStr; } SwStringMsgPoolItem( sal_uInt16 nId, const OUString& rStr ) : SwMsgPoolItem( nId ), m_sStr( rStr ) |