summaryrefslogtreecommitdiff
path: root/starmath/inc/document.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/document.hxx')
-rw-r--r--starmath/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 1eb676c45205..4b8d35ff280c 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -179,7 +179,7 @@ public:
void UpdateText();
void SetText(const OUString& rBuffer);
- OUString GetText() { return aText; }
+ const OUString& GetText() { return aText; }
void SetFormat(SmFormat& rFormat);
const SmFormat& GetFormat() { return aFormat; }