<pre><a class="l" name="636" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#636"> 636 </a><a class="d" name="OUnoObject"></a><a href="http://opengrok.libreoffice.org/s?refs=OUnoObject&project=core" class="d">OUnoObject</a>::<a class="d" name="OUnoObject"></a><a href="http://opengrok.libreoffice.org/s?refs=OUnoObject&project=core" class="d">OUnoObject</a>(<b>const</b> <a href="http://opengrok.libreoffice.org/s?defs=uno&project=core">uno</a>::<a href="http://opengrok.libreoffice.org/s?defs=Reference&project=core">Reference</a>< <a href="http://opengrok.libreoffice.org/s?defs=report&project=core">report</a>::<a href="http://opengrok.libreoffice.org/s?defs=XReportComponent&project=core">XReportComponent</a>>& <a href="http://opengrok.libreoffice.org/s?defs=_xComponent&project=core">_xComponent</a>
<a class="l" name="637" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#637"> 637 </a> ,<b>const</b> ::<a href="http://opengrok.libreoffice.org/s?defs=rtl&project=core">rtl</a>::<a href="http://opengrok.libreoffice.org/s?defs=OUString&project=core">OUString</a>& <a href="http://opengrok.libreoffice.org/s?defs=rModelName&project=core">rModelName</a>
<a class="l" name="638" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#638"> 638 </a> ,<a href="http://opengrok.libreoffice.org/s?defs=sal_uInt16&project=core">sal_uInt16</a> <a href="http://opengrok.libreoffice.org/s?defs=_nObjectType&project=core">_nObjectType</a>)
<a class="l" name="639" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#639"> 639 </a> :<a href="http://opengrok.libreoffice.org/s?defs=SdrUnoObj&project=core">SdrUnoObj</a>(<a href="http://opengrok.libreoffice.org/s?defs=rModelName&project=core">rModelName</a>, <a href="http://opengrok.libreoffice.org/s?defs=sal_True&project=core">sal_True</a>)
<a class="hl" name="640" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#640"> 640 </a> ,<a href="http://opengrok.libreoffice.org/s?defs=OObjectBase&project=core">OObjectBase</a>(<a href="http://opengrok.libreoffice.org/s?defs=_xComponent&project=core">_xComponent</a>)
<a class="l" name="641" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#641"> 641 </a> ,<a href="http://opengrok.libreoffice.org/s?defs=m_nObjectType&project=core">m_nObjectType</a>(<a href="http://opengrok.libreoffice.org/s?defs=_nObjectType&project=core">_nObjectType</a>)
<a class="l" name="642" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#642"> 642 </a>{
<a class="l" name="643" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#643"> 643 </a> <a href="http://opengrok.libreoffice.org/s?defs=DBG_CTOR&project=core">DBG_CTOR</a>( <a class="f" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#rpt_OUnoObject">rpt_OUnoObject</a>, <a href="http://opengrok.libreoffice.org/s?defs=NULL&project=core">NULL</a>);
<a class="l" name="644" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#644"> 644 </a> <a href="http://opengrok.libreoffice.org/s?defs=impl_setUnoShape&project=core">impl_setUnoShape</a>( <a href="http://opengrok.libreoffice.org/s?defs=uno&project=core">uno</a>::<a href="http://opengrok.libreoffice.org/s?defs=Reference&project=core">Reference</a>< <a href="http://opengrok.libreoffice.org/s?defs=uno&project=core">uno</a>::<a href="http://opengrok.libreoffice.org/s?defs=XInterface&project=core">XInterface</a> >( <a href="http://opengrok.libreoffice.org/s?defs=_xComponent&project=core">_xComponent</a>, <a href="http://opengrok.libreoffice.org/s?defs=uno&project=core">uno</a>::<a href="http://opengrok.libreoffice.org/s?defs=UNO_QUERY&project=core">UNO_QUERY</a> ) );
<a class="l" name="645" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#645"> 645 </a>
<a class="l" name="646" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#646"> 646 </a> <b>if</b> ( <a href="http://opengrok.libreoffice.org/s?defs=rModelName&project=core">rModelName</a>.<a href="http://opengrok.libreoffice.org/s?defs=getLength&project=core">getLength</a>() )
<a class="l" name="647" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#647"> 647 </a> <a class="f" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#impl_initializeModel_nothrow">impl_initializeModel_nothrow</a>();
<a class="l" name="648" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#648"> 648 </a>
<a class="l" name="649" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#649"> 649 </a> <b>if</b> ( <a href="http://opengrok.libreoffice.org/s?defs=rModelName&project=core">rModelName</a>.<a href="http://opengrok.libreoffice.org/s?defs=getLength&project=core">getLength</a>() )
<a class="hl" name="650" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#650"> 650 </a> <a class="f" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#impl_initializeModel_nothrow">impl_initializeModel_nothrow</a>();
<a class="l" name="651" href="http://opengrok.libreoffice.org/xref/core/reportdesign/source/core/sdr/RptObject.cxx#651"> 651 </a>}</pre><br><br>Hi<br><br>Can someone tell me the 2nd last IF's is not a repetition of the 1st? If it is, can I drop the second IF?<br>
<br>Thanks<br clear="all"><br>-- <br>Olivier Hallot<br>Founder and Steering Commitee Member<br>The Document Foundation<br><br>