[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/libs/kotext/opendocument
From:       Thomas Zander <zander () kde ! org>
Date:       2010-05-31 21:12:40
Message-ID: 201005312312.40548.zander () kde ! org
[Download RAW message or body]

On Monday 31. May 2010 20.01.33 Boudewijn Rempt wrote:
> SVN commit 1132925 by rempt:
> 
> Do not load annotations as footnotes.
> 
>  M  +1 -1      KoTextLoader.cpp
> 
> 
> --- trunk/koffice/libs/kotext/opendocument/KoTextLoader.cpp
> #1132924:1132925 @@ -912,7 +912,7 @@
>                  howmany = ts.attributeNS(KoXmlNS::text, "c",
> QString()).toInt(); }
>              cursor.insertText(QString().fill(32, howmany));
> -        } else if ( (isOfficeNS && localName  == "annotation") ||
> (isTextNS && localName == "note")) { // text:note or office:annotation 
> +      } else if ( (isTextNS && localName == "note")) { // text:note
> loadNote(ts, cursor);
>          } else if (isTextNS && localName == "tab") { // text:tab
>              cursor.insertText("\t");

For my curiosity; where does this leave annotations loading?
-- 
Thomas Zander
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic