<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/104074/">http://git.reviewboard.kde.org/r/104074/</a>
     </td>
    </tr>
   </table>
   <br />



 <p>Ship it!</p>



 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Please fix the pointed out stuff and then commit.</pre>
 <br />





<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="http://git.reviewboard.kde.org/r/104074/diff/4/?file=51292#file51292line1365" style="color: black; font-weight: bold; text-decoration: underline;">filters/words/oowriter/ExportFilter.cc</a>
    <span style="font-weight: normal;">

     (Diff revision 4)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">void OOWriterWorker::processFootnote(const VariableData& variable)</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
    <th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1365</font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            <span class="o">*</span><span class="n">m_streamOut</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\"</span><span class="s"> xml:id=</span><span class="se">\"</span><span class="s">ft"</span><span class="p">;</span></pre></td>
  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">according to odf 1.2 there is no element text:footnote so maybe better remove this change.</pre>
</div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="http://git.reviewboard.kde.org/r/104074/diff/4/?file=51292#file51292line1378" style="color: black; font-weight: bold; text-decoration: underline;">filters/words/oowriter/ExportFilter.cc</a>
    <span style="font-weight: normal;">

     (Diff revision 4)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">void OOWriterWorker::processFootnote(const VariableData& variable)</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
    <th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1378</font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            <span class="o">*</span><span class="n">m_streamOut</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\"</span><span class="s"> xml:id=</span><span class="se">\"</span><span class="s">ft"</span><span class="p">;</span></pre></td>
  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
    <th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1379</font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            <span class="o">*</span><span class="n">m_streamOut</span> <span class="o"><<</span> <span class="p">(</span><span class="o">++</span><span class="n">m_footnoteNumber</span><span class="p">);</span></pre></td>
  </tr>

 </tbody>





 
 

 <tbody>

  <tr>
    <th bgcolor="#f0f0f0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2">1376</font></th>
    <td bgcolor="#ffffff" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            <span class="o">*</span><span class="n">m_streamOut</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\"</span><span class="s">>"</span><span class="p">;</span></pre></td>
    <th bgcolor="#f0f0f0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1380</font></th>
    <td bgcolor="#ffffff" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            <span class="o">*</span><span class="n">m_streamOut</span> <span class="o"><<</span> <span class="s">"</span><span class="se">\"</span><span class="s">>"</span><span class="p">;</span></pre></td>
  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">According to odf 1.2 there is no text:endnote. So better drop this change.</pre>
</div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="http://git.reviewboard.kde.org/r/104074/diff/4/?file=51301#file51301line1575" style="color: black; font-weight: bold; text-decoration: underline;">libs/flake/KoShape.cpp</a>
    <span style="font-weight: normal;">

     (Diff revision 4)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">void KoShape::loadOdfGluePoints(const KoXmlElement &element, KoShapeLoadingContext &context)</pre></td>

  </tr>
 </tbody>



 
 




 <tbody>

  <tr>
    <th bgcolor="#e9eaa8" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2">1574</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span class="k">const</span> <span class="n">QString</span> <span class="n">id</span> <span class="o">=</span> <span class="n">child</span><span class="p">.</span><span class="n">attributeNS</span><span class="p">(</span><span class="n">KoXmlNS</span><span class="o">::</span><span class="n">draw</span><span class="p">,</span> <span class="s">"id"</span><span class="p">,</span> <span class="n">QString</span><span class="p">());</span></pre></td>
    <th bgcolor="#e9eaa8" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1574</font></th>
    <td bgcolor="#fdfebc" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span class="n">KoElementReference</span> <span class="n">ref</span><span class="p">;</span></pre></td>
  </tr>

 </tbody>



 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
    <th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">1575</font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span class="k">const</span> <span class="n">QString</span> <span class="n">id</span> <span class="o">=</span> <span class="n">ref</span><span class="p">.</span><span class="n">loadOdf</span><span class="p">(</span><span class="n">child</span><span class="p">).</span><span class="n">toString</span><span class="p">();</span></pre></td>
  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This change should be undone even if it does the same as in this place we should not support xml:id</pre>
</div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
 <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
    <a href="http://git.reviewboard.kde.org/r/104074/diff/6/?file=51527#file51527line87" style="color: black; font-weight: bold; text-decoration: underline;">libs/odf/KoGenChanges.cpp</a>
    <span style="font-weight: normal;">

     (Diff revision 6)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
    <th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">79</font></th>
    <td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span class="n">QString</span> <span class="n">changeName</span><span class="p">;</span></pre></td>
  </tr>

 </tbody>





 
 

 <tbody>

  <tr>
    <th bgcolor="#f0f0f0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2">84</font></th>
    <td bgcolor="#ffffff" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span class="k">if</span> <span class="p">(</span><span class="n">changeName</span><span class="p">.</span><span class="n">isEmpty</span><span class="p">())</span> <span class="p">{</span></pre></td>
    <th bgcolor="#f0f0f0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">80</font></th>
    <td bgcolor="#ffffff" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span class="k">if</span> <span class="p">(</span><span class="n">changeName</span><span class="p">.</span><span class="n">isEmpty</span><span class="p">())</span> <span class="p">{</span></pre></td>
  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">The if is always true as in the line above it is created as empty string so if can be removed.</pre>
</div>
<br />



<p>- Thorsten</p>


<br />
<p>On February 29th, 2012, 9:25 a.m., Boudewijn Rempt wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Calligra.</div>
<div>By Boudewijn Rempt.</div>


<p style="color: grey;"><i>Updated Feb. 29, 2012, 9:25 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">draw:id and text:id are deprecated and to be replaced by xml:id. This patch creates a new class KoElementReference that encapsulates loading and saving all three tags, as well as automatically generating a unique id. This is used to make sure that if two items want to save an xml:id on the same element, we only have one, unique tag saved.

I'm not completely happy yet, since parts of KoShapeSavingContext still create numbered, prefixed id's with hidden meanings that are not clearly connect to what the idref actually links to for the master pages. Imo, xml:id should always be guaranteed unique and there should be a clear code-path between the entity that is linked to from an element and the element itself.</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Manual testing and unittests; on Tuesday I will do a practical test at SKF.</pre>
  </td>
 </tr>
</table>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=288644">288644</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>filters/stage/kpr2odf/Filterkpr2odf.cpp <span style="color: grey">(df7079b)</span></li>

 <li>filters/stage/pptx/PptxXmlSlideReader.cpp <span style="color: grey">(eaee384)</span></li>

 <li>filters/words/docx/DocxXmlDocumentReader.cpp <span style="color: grey">(6aa31f5)</span></li>

 <li>filters/words/oowriter/ExportFilter.h <span style="color: grey">(dea56bd)</span></li>

 <li>filters/words/oowriter/ExportFilter.cc <span style="color: grey">(ff44e0c)</span></li>

 <li>karbon/common/KarbonDocument.cpp <span style="color: grey">(6057a18)</span></li>

 <li>krita/ui/flake/kis_shape_layer.cc <span style="color: grey">(8aaca9d)</span></li>

 <li>krita/ui/flake/kis_shape_selection.cpp <span style="color: grey">(95ebeb6)</span></li>

 <li>libs/flake/KoConnectionShape.cpp <span style="color: grey">(fda3463)</span></li>

 <li>libs/flake/KoImageCollection.cpp <span style="color: grey">(27b8260)</span></li>

 <li>libs/flake/KoShape.cpp <span style="color: grey">(be34b8a)</span></li>

 <li>libs/flake/KoShapeLoadingContext.h <span style="color: grey">(87b0830)</span></li>

 <li>libs/flake/KoShapeLoadingContext.cpp <span style="color: grey">(0573ddf)</span></li>

 <li>libs/flake/KoShapeSavingContext.h <span style="color: grey">(c73a680)</span></li>

 <li>libs/flake/KoShapeSavingContext.cpp <span style="color: grey">(46cb477)</span></li>

 <li>libs/kopageapp/KoPADocument.cpp <span style="color: grey">(49ac34a)</span></li>

 <li>libs/kopageapp/KoPAPage.cpp <span style="color: grey">(fbcf49d)</span></li>

 <li>libs/kopageapp/KoPAPastePage.cpp <span style="color: grey">(9fd795e)</span></li>

 <li>libs/kopageapp/tests/TestPACopyPastePage.h <span style="color: grey">(363f803)</span></li>

 <li>libs/kopageapp/tests/TestPACopyPastePage.cpp <span style="color: grey">(3b023b8)</span></li>

 <li>libs/kotext/KoDocumentRdfBase.h <span style="color: grey">(d6f467a)</span></li>

 <li>libs/kotext/KoDocumentRdfBase.cpp <span style="color: grey">(7b6b38c)</span></li>

 <li>libs/kotext/KoInlineNote.h <span style="color: grey">(91823e9)</span></li>

 <li>libs/kotext/KoInlineNote.cpp <span style="color: grey">(897214c)</span></li>

 <li>libs/kotext/KoInlineObject.h <span style="color: grey">(8a1d627)</span></li>

 <li>libs/kotext/KoTextAnchor.cpp <span style="color: grey">(414b347)</span></li>

 <li>libs/kotext/KoTextBlockData.h <span style="color: grey">(cc1528b)</span></li>

 <li>libs/kotext/KoTextBlockData.cpp <span style="color: grey">(116b432)</span></li>

 <li>libs/kotext/KoTextDrag.cpp <span style="color: grey">(381f4de)</span></li>

 <li>libs/kotext/KoTextInlineRdf.h <span style="color: grey">(fd7bb5e)</span></li>

 <li>libs/kotext/KoTextInlineRdf.cpp <span style="color: grey">(f449426)</span></li>

 <li>libs/kotext/changetracker/KoChangeTracker.h <span style="color: grey">(33c2696)</span></li>

 <li>libs/kotext/changetracker/KoChangeTracker.cpp <span style="color: grey">(51b9c5e)</span></li>

 <li>libs/kotext/opendocument/KoTextLoader.cpp <span style="color: grey">(a15b08e)</span></li>

 <li>libs/kotext/opendocument/KoTextWriter.h <span style="color: grey">(fd0689c)</span></li>

 <li>libs/kotext/opendocument/KoTextWriter.cpp <span style="color: grey">(56125d3)</span></li>

 <li>libs/kotext/opendocument/KoTextWriter_p.h <span style="color: grey">(c89e895)</span></li>

 <li>libs/kotext/opendocument/KoTextWriter_p.cpp <span style="color: grey">(1dbc8bb)</span></li>

 <li>libs/kotext/opendocument/tests/CMakeLists.txt <span style="color: grey">(c386cfb)</span></li>

 <li>libs/kotext/opendocument/tests/TestChangeTracking.cpp <span style="color: grey">(665636b)</span></li>

 <li>libs/main/rdf/KoDocumentRdf.h <span style="color: grey">(fabc628)</span></li>

 <li>libs/main/rdf/KoDocumentRdf.cpp <span style="color: grey">(bfaa9ec)</span></li>

 <li>libs/odf/CMakeLists.txt <span style="color: grey">(838d4f6)</span></li>

 <li>libs/odf/KoElementReference.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>libs/odf/KoElementReference.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>libs/odf/KoEmbeddedDocumentSaver.cpp <span style="color: grey">(36506ca)</span></li>

 <li>libs/odf/KoGenChange.cpp <span style="color: grey">(2cd2d97)</span></li>

 <li>libs/odf/KoGenChanges.h <span style="color: grey">(d7b51ee)</span></li>

 <li>libs/odf/KoGenChanges.cpp <span style="color: grey">(b64d32d)</span></li>

 <li>libs/odf/tests/CMakeLists.txt <span style="color: grey">(ee86038)</span></li>

 <li>libs/odf/tests/TestKoElementReference.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>libs/odf/tests/TestKoElementReference.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>plan/libs/ui/reports/odt/KoSimpleOdtCheckBox.cpp <span style="color: grey">(49a82bb)</span></li>

 <li>plan/libs/ui/reports/odt/KoSimpleOdtLine.cpp <span style="color: grey">(c8a4b9c)</span></li>

 <li>plan/libs/ui/reports/odt/KoSimpleOdtPicture.cpp <span style="color: grey">(cd3216c)</span></li>

 <li>plan/libs/ui/reports/odt/KoSimpleOdtTextBox.cpp <span style="color: grey">(717b867)</span></li>

 <li>plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp <span style="color: grey">(57aa6fd)</span></li>

 <li>stage/part/animations/KPrAnimationBase.cpp <span style="color: grey">(b544485)</span></li>

 <li>stage/part/animations/KPrAnimationLoader.cpp <span style="color: grey">(45467dd)</span></li>

 <li>stage/part/animations/KPrShapeAnimation.cpp <span style="color: grey">(c7fff3f)</span></li>

 <li>tables/part/Doc.cpp <span style="color: grey">(25e3fd3)</span></li>

 <li>words/part/KWOdfLoader.cpp <span style="color: grey">(5c568df)</span></li>

 <li>words/part/KWOdfWriter.cpp <span style="color: grey">(b998485)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/104074/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>