Remove unused static functions in QtXmlPatterns

Found by Clang 3.4.

Change-Id: I60f78b62d2ecacf58d534623eced537ca62a2405
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Remove unused variable, found by ICC 14

qxslttokenizer.cpp(700): warning #177: variable "val" was declared but never referenced
              const QStringRef val(m_currentAttributes.value(CommonNamespaces::XML, QLatin1String("space")));
                               ^

Change-Id: Ic806bf1e9c22ead8680907b0e22794d7b07dcc90
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I220517794f3427f9f1746981e8dc7256bb482285
fix conditionals in DayTimeDuration::stringValue()

Task-number: QTBUG-35479
Change-Id: If385bd85f5c20871a0248c828626deea2d72e0a2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Minor optimization, use QStringRef over QString

That way we avoid some unnecessary memory allocations

Change-Id: I597443393671d57b1a47b37eb15c3eca54ee4168
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Bump MODULE_VERSION to 5.2.2

Change-Id: Ibf702ab35725578d4f72f4959b1bcca9d8332ce0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf

Change-Id: I8a745d75ab994164aa861f5d5082e493b02eaea4