]> Git trees. - libqmvoc.git/commit
Articles are now saved, as are plural personal pronouns.
authorDavid Capel <wot.narg@gmail.com>
Fri, 15 Aug 2008 12:24:51 +0000 (12:24 +0000)
committerDavid Capel <wot.narg@gmail.com>
Fri, 15 Aug 2008 12:24:51 +0000 (12:24 +0000)
commitbf96f3b0981b71452fde360c0ed12c5eb2488fc8
treed92cdb5d56d99f835031be111f2825290082206e
parentadbad438472372b2c1ac71ec1db18e5f623d928b
Articles are now saved, as are plural personal pronouns.

The personal pronouns were victim of my KEduVocWordFlag change, but the articles were victim of an API mixup: KEduVocIdentifier.articles() returned by value,
and kvtml2reader was modifying the return value. Returning by reference solves the problem.

Additionally I added some code to hopefully catch the null-d-pointer bug in KEduVocWordType.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=847463
keduvocdocument/keduvocarticle.cpp
keduvocdocument/keduvocidentifier.cpp
keduvocdocument/keduvocidentifier.h
keduvocdocument/keduvockvtml2reader.cpp
keduvocdocument/keduvockvtml2writer.cpp
keduvocdocument/keduvocpersonalpronoun.cpp
keduvocdocument/keduvoctranslation.cpp
keduvocdocument/keduvocwordtype.cpp