<table><tr><td style="">cullmann created this revision.<br />cullmann added a reviewer: vkrause.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />cullmann requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14956">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Format() is used as invalid return value in some places.<br />
At the moment that does at least one heap allocation.<br />
Now only for formats loaded from the XML a heap allocation is done</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>make && make test</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14956">https://phabricator.kde.org/D14956</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/format.cpp<br />
src/lib/format_p.h</div></div></div><br /><div><strong>To: </strong>cullmann, vkrause<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>