Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index



just pushed a partially revert [1] for your commit
b7df3446c373a93dc5b77b495a54d873d83a91a7
that introduced the endless loop:

[...]

-            String aText = m_aFtTitle.GetText();
+            OUStringBuffer aText( m_aFtTitle.GetText() );
 
- while( m_pTheParent->GetTextWidth( aText ) < m_nNameWidth )
-        aText.AppendAscii("...........");
+           
while( m_pTheParent->GetTextWidth( aText.makeStringAndClear() ) <
m_nNameWidth )
+         aText.append("...........");

[...]

The problem here is, that the method aText.makeStringAndClear() destroys
the content of the OUStringBuffer and aText.append("...........") start
from the beginning and thus never ends.

Note: i didn't check the rest of that commit.

[1]
http://cgit.freedesktop.org/libreoffice/core/commit/?id=865b5caf6e2256e06f46a39a86d67f03408718a9



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.