summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xmlpatterns/data/qdaytimeduration.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xmlpatterns/data/qdaytimeduration.cpp b/src/xmlpatterns/data/qdaytimeduration.cpp
index c21e352..5f273d7 100644
--- a/src/xmlpatterns/data/qdaytimeduration.cpp
+++ b/src/xmlpatterns/data/qdaytimeduration.cpp
@@ -145,8 +145,7 @@ QString DayTimeDuration::stringValue() const
retval.append(QLatin1Char('D'));
}
- if(!m_hours && !m_minutes && !m_seconds && !m_seconds)
- {
+ if (!m_hours && !m_minutes && !m_seconds && !m_mseconds) {
if(!m_days)
return QLatin1String("PT0S");
else
@@ -167,8 +166,7 @@ QString DayTimeDuration::stringValue() const
retval.append(QLatin1Char('M'));
}
- if(m_seconds || m_seconds)
- {
+ if (m_seconds || m_mseconds) {
retval.append(QString::number(m_seconds));
if(m_mseconds)