summaryrefslogtreecommitdiff
path: root/sw/inc/cellfml.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/cellfml.hxx')
-rw-r--r--sw/inc/cellfml.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx
index e681a25fead8..f00f80bed351 100644
--- a/sw/inc/cellfml.hxx
+++ b/sw/inc/cellfml.hxx
@@ -132,7 +132,7 @@ public:
bool IsValid() const { return m_bValidValue; }
void ChgValid( bool bNew ) { m_bValidValue = bNew; }
- OUString GetFormula() const { return m_sFormula; }
+ const OUString& GetFormula() const { return m_sFormula; }
void SetFormula( const OUString& rNew )
{
m_sFormula = rNew;