Commits

Anonymous committed d8f4f9f

vbasupportdev300_HG: remove setTemplate ( sfxdocshell ) call, that really could cause problems, remember when we open an imported document ( that is a template ) we get opened as a new document ( created from the template )

Comments (0)

Files changed (1)

sw/source/filter/ww8/ww8par.cxx

     {
         if (mbNewDoc && pStg && !pGloss) /*meaningless for a glossary, cmc*/
         {
-            mpDocShell->SetTemplate( pWwFib->fDot ); // point at tgc record
             const SvtFilterOptions* pVBAFlags = SvtFilterOptions::Get();
             maTracer.EnterEnvironment(sw::log::eMacros);
 // dissable below for 3.1 at the moment, 'cause it's kinda immature