[Libreoffice-commits] core.git: editeng/source
Stephan Bergmann
sbergman at redhat.com
Mon Nov 9 03:13:14 PST 2015
editeng/source/editeng/editundo.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e31205f3ec1f941ab5a188bfde6329edf2acc55b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Nov 9 12:11:15 2015 +0100
EditUndoRemoveChars::GetStr must return a reference
...as ImpEditEngine::ImpRemoveChars (editeng/source/editeng/impedit2.cxx) calls
pCurUndo->GetStr() += aStr;
Regression introduced with d5e11f5ffb741aabe7e43be78ef764a1f3cafd8e "convert
editeng/source/editeng/editundo.hxx from String to OUString."
Change-Id: Iab3dd3b861bca715a90e89e3a63a6f298657367d
diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx
index 094e999..775f5a9 100644
--- a/editeng/source/editeng/editundo.hxx
+++ b/editeng/source/editeng/editundo.hxx
@@ -123,7 +123,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() override;
virtual void Redo() override;
More information about the Libreoffice-commits
mailing list