diff options
author | obo <obo@openoffice.org> | 2010-06-09 16:14:02 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-09 16:14:02 +0200 |
commit | 2f9f36ac4a36dbcb52f079460cc2ad28cc5b2706 (patch) | |
tree | 768c1bc18e023ff71c45467025b5bf51ba443cbc /sc/source/ui/docshell/docfunc.cxx | |
parent | c33ab2e2d8dcfeb1ba14c9465235740f1c647533 (diff) | |
parent | e456718e013f90ad4f3b722f732a6c5942f09f83 (diff) |
CWS-TOOLING: integrate CWS koheiextref01
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 01d03d49b50a..e08c930301cf 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -98,9 +98,11 @@ #include "scui_def.hxx" //CHINA001 #include "tabprotection.hxx" #include "clipparam.hxx" +#include "externalrefmgr.hxx" #include <memory> #include <basic/basmgr.hxx> +#include <boost/scoped_ptr.hpp> using namespace com::sun::star; using ::com::sun::star::uno::Sequence; @@ -1042,6 +1044,10 @@ BOOL ScDocFunc::SetCellText( const ScAddress& rPos, const String& rText, { if ( bEnglish ) { + ::boost::scoped_ptr<ScExternalRefManager::ApiGuard> pExtRefGuard; + if (bApi) + pExtRefGuard.reset(new ScExternalRefManager::ApiGuard(pDoc)); + // code moved to own method InterpretEnglishString because it is also used in // ScCellRangeObj::setFormulaArray |