From ff4448a79e9670ae5b825261916b2dd91c7ff6cb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 6 Apr 2013 13:32:04 +0200 Subject: fix compilation error Change-Id: Ife833566122da25c366938c9c2d127fca0903bb7 --- sc/source/ui/collab/sendfunc.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 #include #include @@ -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 ) -- cgit