summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-06 13:32:04 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-06 13:33:33 +0200
commitff4448a79e9670ae5b825261916b2dd91c7ff6cb (patch)
treea9a0b63452493fe40f2659b8d6ffabd9e609ef5c
parentab382911aeb83d6a8f5347f6d5502daab87924dd (diff)
fix compilation error
Change-Id: Ife833566122da25c366938c9c2d127fca0903bb7
-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 )