diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-07-02 13:53:24 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-07-02 13:53:24 +0000 |
commit | e54acd324c6f81217dbfde255b4006c9481d003a (patch) | |
tree | a1c8276538ab8d7bcce342b0ca76c92c652e96d1 /autodoc | |
parent | 1fd39053ee760565a2f0ad2402a7706a24ac2a93 (diff) |
#100000#fix for missing type for solaris
Diffstat (limited to 'autodoc')
-rw-r--r-- | autodoc/source/display/idl/hi_factory.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/autodoc/source/display/idl/hi_factory.cxx b/autodoc/source/display/idl/hi_factory.cxx index 121a11227e24..92b8be7d8143 100644 --- a/autodoc/source/display/idl/hi_factory.cxx +++ b/autodoc/source/display/idl/hi_factory.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hi_factory.cxx,v $ - * $Revision: 1.15 $ + * $Revision: 1.16 $ * * This file is part of OpenOffice.org. * @@ -136,28 +136,28 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, { csv_assert( it_list ); - ::std::auto_ptr< HF_SubTitleTable > pSummary; + Dyn< HF_SubTitleTable > pSummary; if ( ( i_viewType == viewtype_summary ) || ( i_viewType == viewtype_complete ) ) { - pSummary.reset( new HF_SubTitleTable( + pSummary = new HF_SubTitleTable( CurOut(), i_summaryLabel, i_summaryTitle, - 2 ) ); + 2 ); } - ::std::auto_ptr< HF_SubTitleTable > pDetails; + Dyn< HF_SubTitleTable > pDetails; if ( ( i_viewType == viewtype_details ) || ( i_viewType == viewtype_complete ) ) { - pDetails.reset( new HF_SubTitleTable( + pDetails = new HF_SubTitleTable( CurOut(), i_detailsLabel, i_detailsTitle, - 1 ) ); + 1 ); } for ( ; it_list.operator bool(); ++it_list ) @@ -165,7 +165,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, const ary::idl::CodeEntity & rCe = Env().Data().Find_Ce(*it_list); - if ( pSummary.get() ) + if ( pSummary ) { Xml::Element & rSummaryRow = pSummary->Add_Row(); @@ -174,7 +174,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, produce_ShortDoc(rSummaryRow, rCe); } - if ( pDetails.get() ) + if ( pDetails ) produce_MemberDetails(*pDetails, rCe); } } |