<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div dir="ltr"><font face="Arial" size="2"><b><span style="font-weight:bold;">De :</span></b> Noel Grandin <noel@peralex.com><br> <b><span style="font-weight: bold;">À :</span></b> julien2412 <serval2412@yahoo.fr> <br><b><span style="font-weight: bold;">Cc :</span></b> libreoffice@lists.freedesktop.org <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi 15 mars 2013 10h04<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: About coverity 705746 (pormulti.cxx from sw module)<br> </font> </div> <br><div id="yiv1425119015">
  
    
  
  <div>
    <div class="yiv1425119015moz-cite-prefix">On 2013-03-15 10:30, julien2412 wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Noel Grandin wrote
</pre>
      <blockquote type="cite">
        <pre>I would guess that someone meant to move line 742 inside the first "if" 
statement, but only did half the job.
</pre>
      </blockquote>
      <pre>Hello Noël,

Perhaps I'm too sleepy this morning but I don't see the interest to
duplicate the "new" part. Any hint?


</pre>
    </blockquote>
    <br>
    I think the code should read:<br>
    <br>
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span class="yiv1425119015Apple-converted-space"> </span>if( nLeft || nRight )<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">     {<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if(
      !pCurr->GetPortion() )<span class="yiv1425119015Apple-converted-space"> </span></span><br style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->SetPortion( new SwTxtPortion( *pCurr ) );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if( nLeft
      )<span class="yiv1425119015Apple-converted-space"> </span></span><br style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         {<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);display:inline;float:none;">             SwMarginPortion *pMarg =
        new SwMarginPortion( 0 );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
      <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;
line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
        255);display:inline;float:none;"></span>        
          pMarg->AddPrtWidth( nLeft );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pMarg->SetPortion( pCurr->GetPortion() );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->SetPortion( pMarg );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         }<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if(
      nRight )<span class="yiv1425119015Apple-converted-space"> </span></span><br style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         {<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            </span><span style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);display:inline;float:none;"><span style="color:rgb(51, 51, 51);
font-family:Georgia;font-size:13px;font-style:normal;
font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
        255);display:inline;float:none;"><span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;
line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,
          255, 255);display:inline;float:none;">SwMarginPortion
          *</span></span>pMarg = new SwMarginPortion( 0 );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pMarg->AddPrtWidth( nRight );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->FindLastPortion()->Append( pMarg );<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         }<span class="yiv1425119015Apple-converted-space"> </span></span><br style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">    }<span class="yiv1425119015Apple-converted-space"> </span></span><br>
  <br><hr><font color="808080" size="-2">Disclaimer: <a rel="nofollow" target="_blank" href="http://www.peralex.com/disclaimer.html">http://www.peralex.com/disclaimer.html</a><br><br>

</font></div><font color="808080" size="-2">

</font></div>Since we have "<span class="yui_3_7_2_34_1363335908743_69" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span class="yiv1425119015Apple-converted-space"> </span>if( nLeft || nRight )<span class="yiv1425119015Apple-converted-space"> ", what about:</span></span><br><span class="yui_3_7_2_34_1363335908743_69" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span class="yiv1425119015Apple-converted-space"> </span>if( nLeft || nRight )<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_70" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_71" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">     {<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_72" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_73" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if(
      !pCurr->GetPortion() )<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_74" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_75" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->SetPortion( new SwTxtPortion( *pCurr ) );<span class="yiv1425119015Apple-converted-space"> </span></span><br>       <span class="yui_3_7_2_34_1363335908743_81" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span class="yui_3_7_2_34_1363335908743_82" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);display:inline;float:none;">SwMarginPortion *pMarg =
        new SwMarginPortion( 0 );<span class="yiv1425119015Apple-converted-space"> </span></span></span><br class="yui_3_7_2_34_1363335908743_76" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_77" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if( nLeft
      )<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_78" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_79" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         {<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_80" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);"><span class="yui_3_7_2_34_1363335908743_81" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">        
          pMarg->AddPrtWidth( nLeft );<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_85" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_86" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pMarg->SetPortion( pCurr->GetPortion() );<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_87" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_88" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->SetPortion( pMarg );<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_89" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_90" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         }<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_91" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_92" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         if(
      nRight )<span class="yiv1425119015Apple-converted-space"></span></span><br class="yui_3_7_2_34_1363335908743_93" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_94" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         {<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_95" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_96" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"></span><span class="yui_3_7_2_34_1363335908743_101" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pMarg->AddPrtWidth( nRight );<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_102" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_103" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">            
      pCurr->FindLastPortion()->Append( pMarg );<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_104" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_105" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">         }<span class="yiv1425119015Apple-converted-space"> </span></span><br class="yui_3_7_2_34_1363335908743_106" style="
color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);">
    <span class="yui_3_7_2_34_1363335908743_107" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;">    }<span class="yiv1425119015Apple-converted-space"> </span></span><br><br>If nLeft and nRight are exlusive, it could also just be an if(nLeft)... else...<br><br>In both cases, no need to repeat "<span class="yui_3_7_2_34_1363335908743_81" style="color:rgb(51, 51, 51);font-family:Georgia;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255,
      255);display:inline;float:none;"><span class="yui_3_7_2_34_1363335908743_82" style="color:rgb(51, 51, 51);font-family:Georgia;
font-size:13px;font-style:normal;font-variant:normal;
font-weight:normal;letter-spacing:normal;line-height:normal;
text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255, 255, 255);display:inline;float:none;">SwMarginPortion *pMarg =
        new SwMarginPortion( 0 );<span class="yiv1425119015Apple-converted-space"> " since we're sure to be in one of these blocks.</span></span></span><br><br>Julien<br> </div> </div>  </div></body></html>