diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-06 13:32:04 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-06 13:33:33 +0200 |
commit | ff4448a79e9670ae5b825261916b2dd91c7ff6cb (patch) | |
tree | a9a0b63452493fe40f2659b8d6ffabd9e609ef5c /sc/source/ui | |
parent | ab382911aeb83d6a8f5347f6d5502daab87924dd (diff) |
fix compilation error
Change-Id: Ife833566122da25c366938c9c2d127fca0903bb7
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/collab/sendfunc.cxx | 5 |
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 ) |