summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/collab/sendfunc.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index 37f51c2099ca..a02cf54d09b5 100644
--- a/sc/source/ui/collab/sendfunc.cxx
+++ b/sc/source/ui/collab/sendfunc.cxx
@@ -32,6 +32,7 @@
#include "docsh.hxx"
#include "docfunc.hxx"
#include "sccollaboration.hxx"
+#include <editeng/editeng.hxx>
#include <editeng/editobj.hxx>
#include <tubes/manager.hxx>
@@ -52,7 +53,9 @@ OUString editToString( const EditTextObject& /*rEditText*/ )
EditTextObject stringToEdit( const OUString& rStr )
{
// FIXME: implement me.
- return EditTextObject();
+ // The code here only serves to make this file compilable.
+ EditEngine aEditEngine(0);
+ return *aEditEngine.CreateTextObject();
}
ScFormulaCell* stringToFormulaCell( const OUString &rString )