[poppler] Branch 'poppler-0.20' - qt4/src

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Jun 8 16:32:53 PDT 2012


 qt4/src/poppler-annotation.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bde31ce7b223abc86d25e06f3d73668b792c70df
Author: Fabio D'Urso <fabiodurso at hotmail.it>
Date:   Sat Jun 9 01:31:29 2012 +0200

    Fix saving to xml
    
    The default icon is Note not comment

diff --git a/qt4/src/poppler-annotation.cc b/qt4/src/poppler-annotation.cc
index 4d7cd84..0edb4af 100644
--- a/qt4/src/poppler-annotation.cc
+++ b/qt4/src/poppler-annotation.cc
@@ -1662,7 +1662,7 @@ void TextAnnotation::store( QDomNode & node, QDomDocument & document ) const
     // store the optional attributes
     if ( textType() != Linked )
         textElement.setAttribute( "type", (int)textType() );
-    if ( textIcon() != "Comment" )
+    if ( textIcon() != "Note" )
         textElement.setAttribute( "icon", textIcon() );
     if ( inplaceAlign() )
         textElement.setAttribute( "align", inplaceAlign() );


More information about the poppler mailing list