Kaydet (Commit) b86fc718 authored tarafından Sarah Smith's avatar Sarah Smith

#105112# fix for loading templates to cache

üst 98a1fec5
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: cachecontroller.cxx,v $ * $RCSfile: cachecontroller.cxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: ssmith $ $Date: 2002-12-16 12:49:25 $ * last change: $Author: ssmith $ $Date: 2002-12-18 15:29:36 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -618,8 +618,10 @@ TemplateResult CacheController::getTemplateData(TemplateRequest const & _aReques ...@@ -618,8 +618,10 @@ TemplateResult CacheController::getTemplateData(TemplateRequest const & _aReques
"*" : RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) ); "*" : RTL_LOGFILE_OU2A(_aRequest.getComponentName().toString()) );
//Remember to remove
AbsolutePath aTemplateLocation = AbsolutePath::makeModulePath(_aRequest.getComponentName(), AbsolutePath::NoValidate()); AbsolutePath aTemplateLocation = encodeTemplateLocation(_aRequest.getTemplateName(), _aRequest.getComponentName());
loadTemplate(_aRequest);
//AbsolutePath aTemplateLocation = ensureTemplate(_aRequest.getTemplateName(), _aRequest.getComponentName()); //AbsolutePath aTemplateLocation = ensureTemplate(_aRequest.getTemplateName(), _aRequest.getComponentName());
memory::Segment * pTemplatesSegment = m_aTemplates.getDataSegment(aTemplateLocation.getModuleName()); memory::Segment * pTemplatesSegment = m_aTemplates.getDataSegment(aTemplateLocation.getModuleName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment