OSDN Git Service

QXmlStreamWriterPrivate cleanup
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 11 Jun 2019 16:11:28 +0000 (16:11 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 11 Jun 2019 16:11:28 +0000 (16:11 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/xml/kernel/qxmlstream.cpp

index 7ea7c01..666c3ef 100644 (file)
@@ -2897,14 +2897,14 @@ public:
     void writeStartElement(const QString &namespaceUri, const QString &name);
     QIODevice *device;
     QString *stringDevice;
-    uint deleteDevice :1;
-    uint inStartElement :1;
-    uint inEmptyElement :1;
-    uint lastWasStartElement :1;
-    uint wroteSomething :1;
-    uint hasError :1;
-    uint autoFormatting :1;
-    uint isCodecASCIICompatible :1;
+    bool deleteDevice;
+    bool inStartElement;
+    bool inEmptyElement;
+    bool lastWasStartElement;
+    bool wroteSomething;
+    bool hasError;
+    bool autoFormatting;
+    bool isCodecASCIICompatible;
     QByteArray autoFormattingIndent;
     NamespaceDeclaration emptyNamespace;
     int lastNamespaceDeclaration;