Kaydet (Commit) e54acd32 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

#100000#fix for missing type for solaris

üst 1fd39053
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite * OpenOffice.org - a multi-platform office productivity suite
* *
* $RCSfile: hi_factory.cxx,v $ * $RCSfile: hi_factory.cxx,v $
* $Revision: 1.15 $ * $Revision: 1.16 $
* *
* This file is part of OpenOffice.org. * This file is part of OpenOffice.org.
* *
...@@ -136,28 +136,28 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, ...@@ -136,28 +136,28 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list,
{ {
csv_assert( it_list ); csv_assert( it_list );
::std::auto_ptr< HF_SubTitleTable > pSummary; Dyn< HF_SubTitleTable > pSummary;
if ( ( i_viewType == viewtype_summary ) if ( ( i_viewType == viewtype_summary )
|| ( i_viewType == viewtype_complete ) || ( i_viewType == viewtype_complete )
) )
{ {
pSummary.reset( new HF_SubTitleTable( pSummary = new HF_SubTitleTable(
CurOut(), CurOut(),
i_summaryLabel, i_summaryLabel,
i_summaryTitle, i_summaryTitle,
2 ) ); 2 );
} }
::std::auto_ptr< HF_SubTitleTable > pDetails; Dyn< HF_SubTitleTable > pDetails;
if ( ( i_viewType == viewtype_details ) if ( ( i_viewType == viewtype_details )
|| ( i_viewType == viewtype_complete ) || ( i_viewType == viewtype_complete )
) )
{ {
pDetails.reset( new HF_SubTitleTable( pDetails = new HF_SubTitleTable(
CurOut(), CurOut(),
i_detailsLabel, i_detailsLabel,
i_detailsTitle, i_detailsTitle,
1 ) ); 1 );
} }
for ( ; it_list.operator bool(); ++it_list ) for ( ; it_list.operator bool(); ++it_list )
...@@ -165,7 +165,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, ...@@ -165,7 +165,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list,
const ary::idl::CodeEntity & const ary::idl::CodeEntity &
rCe = Env().Data().Find_Ce(*it_list); rCe = Env().Data().Find_Ce(*it_list);
if ( pSummary.get() ) if ( pSummary )
{ {
Xml::Element & Xml::Element &
rSummaryRow = pSummary->Add_Row(); rSummaryRow = pSummary->Add_Row();
...@@ -174,7 +174,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list, ...@@ -174,7 +174,7 @@ HtmlFactory_Idl::produce_Members( ce_list & it_list,
produce_ShortDoc(rSummaryRow, rCe); produce_ShortDoc(rSummaryRow, rCe);
} }
if ( pDetails.get() ) if ( pDetails )
produce_MemberDetails(*pDetails, rCe); produce_MemberDetails(*pDetails, rCe);
} }
} }
......
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