diff options
Diffstat (limited to 'svtools/source/misc/templatefoldercache.cxx')
-rw-r--r-- | svtools/source/misc/templatefoldercache.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index 7048441ecf8a..36761da02577 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -93,11 +93,18 @@ namespace svt //= TemplateContent + namespace { + struct TemplateContent; + + } + typedef ::std::vector< ::rtl::Reference< TemplateContent > > TemplateFolderContent; typedef TemplateFolderContent::const_iterator ConstFolderIterator; typedef TemplateFolderContent::iterator FolderIterator; + namespace { + /** a struct describing one content in one of the template dirs (or at least it's relevant aspects) */ struct TemplateContent : public ::salhelper::SimpleReferenceObject @@ -138,6 +145,7 @@ namespace svt { m_aSubContents.push_back( _rxNewElement ); } }; + } TemplateContent::TemplateContent( const INetURLObject& _rURL ) :m_aURL( _rURL ) @@ -154,6 +162,7 @@ namespace svt //= stl helpers + namespace { /// compares two TemplateContent by URL struct TemplateContentURLLess @@ -365,6 +374,7 @@ namespace svt } }; + } //= TemplateFolderCacheImpl |