diff options
author | npower Developer <npower@openoffice.org> | 2010-02-26 18:29:25 +0000 |
---|---|---|
committer | npower Developer <npower@openoffice.org> | 2010-02-26 18:29:25 +0000 |
commit | e36d78e218fe8993406b2134ef4e7b30801f272e (patch) | |
tree | e744d40eb780a7c7306e8e6519ba42cd6f530f6f /sc/source/ui/docshell/docsh2.cxx | |
parent | 22e99ad710239c0604f883f303d91b8c43a71f16 (diff) |
npower14miscfixes: #i109644# don't load vba stuff for odf document ( untill you go into vbamode in basic )
Diffstat (limited to 'sc/source/ui/docshell/docsh2.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 4b76c18edbe6..9e3ed217382f 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -102,6 +102,7 @@ BOOL __EXPORT ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xSt InitItems(); CalcOutputFactor(); +#if 0 uno::Any aGlobs; uno::Sequence< uno::Any > aArgs(1); aArgs[ 0 ] <<= GetModel(); @@ -121,6 +122,7 @@ BOOL __EXPORT ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xSt BasicManager* pAppMgr = SFX_APP()->GetBasicManager(); if ( pAppMgr ) pAppMgr->SetGlobalUNOConstant( "ThisExcelDoc", aArgs[ 0 ] ); +#endif return bRet; } |