-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

You used a version of std::sort that assumes that the types that are
compared do has operator< defined. This is not the case for
rtl::OUString. Just wondering why this compiled.

I would suggest you that you create a function object that will do the
less-then comparison and that you use the second version of std::sort
explained here http://www.sgi.com/tech/stl/sort.html

As usual, my comment can demonstrate itself completely pointless, so it
is good to take it as such.

Cheeers

Fridrich

shizhoubo[OOoFrm] wrote:
| The attachment is source changing, Please, review it. I have tested the
| changing source and the changing work right, but it trigger other
| question which is the Chinese FontName was placed in the last place. but
| before the source was not changed, the Chinese FontName was plased in
| the first place. why ? Could you give me some advices ?

- --
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFH1kPIu9a1imXPdA8RAs/nAJ0TXwaK2O+CXrY6dMOzgv7Oh6rQXwCeJHfu
hXuo94/+r7gMShzs0TpVimY=
=hxSE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to