OSDN Git Service

Forced the attribute contentClass to be unset since I don't support it anyway.
authorRandy Baumgarte <randy@fbn.cx>
Wed, 18 Jan 2012 19:40:21 +0000 (14:40 -0500)
committerRandy Baumgarte <randy@fbn.cx>
Wed, 18 Jan 2012 19:40:21 +0000 (14:40 -0500)
src/cx/fbn/nevernote/sql/NoteTable.java

index 660b793..af0ad28 100644 (file)
@@ -255,6 +255,7 @@ public class NoteTable {
                }\r
                Note n = mapNoteFromQuery(query, loadContent, loadResources, loadRecognition, loadBinary, loadTags);\r
                n.setContent(fixCarriageReturn(n.getContent()));\r
                }\r
                Note n = mapNoteFromQuery(query, loadContent, loadResources, loadRecognition, loadBinary, loadTags);\r
                n.setContent(fixCarriageReturn(n.getContent()));\r
+               n.getAttributes().setContentClassIsSet(false);\r
                return n;\r
        }\r
        // Get a note by Guid\r
                return n;\r
        }\r
        // Get a note by Guid\r