summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/editeng/editundo.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx
index a31261a38ee8..9d6451a59c7c 100644
--- a/editeng/source/editeng/editundo.hxx
+++ b/editeng/source/editeng/editundo.hxx
@@ -126,7 +126,7 @@ public:
EditUndoRemoveChars(EditEngine* pEE, const EPaM& rEPaM, const OUString& rStr);
const EPaM& GetEPaM() { return aEPaM; }
- OUString GetStr() const { return aText; }
+ OUString & GetStr() { return aText; }
virtual void Undo() SAL_OVERRIDE;
virtual void Redo() SAL_OVERRIDE;