summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2014-01-17 20:23:46 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 17:48:21 +0100
commit95f88ed6c58925b74e6e6c25a44e597e5be112b1 (patch)
treeabb4727988cd208efe2f0cea79efb1e56b11565a /src
parentf217661e4c0c5c653442da65498c4a235a41b785 (diff)
downloadqtxmlpatterns-95f88ed6c58925b74e6e6c25a44e597e5be112b1.tar.gz
whitespace fixes
remove trailing spaces & expand tabs Change-Id: Ic958087d8c50f3c51d767f5191e54c4079cc74a2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/xmlpatterns/Doxyfile6
-rw-r--r--src/xmlpatterns/api/qabstractxmlforwarditerator_p.h8
-rw-r--r--src/xmlpatterns/data/qabstractfloatcasters_tpl_p.h2
-rw-r--r--src/xmlpatterns/data/qatomicvalue.cpp2
-rw-r--r--src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml2
-rw-r--r--src/xmlpatterns/doc/snippets/patternist/introductionExample.xq2
-rw-r--r--src/xmlpatterns/functions/qcomparingaggregator_tpl_p.h2
-rw-r--r--src/xmlpatterns/functions/qpatternplatform_p.h2
-rw-r--r--src/xmlpatterns/functions/qsequencefns_p.h4
9 files changed, 15 insertions, 15 deletions
diff --git a/src/xmlpatterns/Doxyfile b/src/xmlpatterns/Doxyfile
index 83f7062..426be61 100644
--- a/src/xmlpatterns/Doxyfile
+++ b/src/xmlpatterns/Doxyfile
@@ -504,7 +504,7 @@ EXAMPLE_RECURSIVE = YES
# directories that contain image that are included in the documentation (see
# the \image command).
-IMAGE_PATH =
+IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
@@ -990,7 +990,7 @@ INCLUDE_FILE_PATTERNS =
# instead of the = operator.
PREDEFINED = Q_SLOTS="slots" \
- Q_SIGNALS="signals"
+ Q_SIGNALS="signals"
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
@@ -1076,7 +1076,7 @@ HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = YES
-CALLER_GRAPH = NO
+CALLER_GRAPH = NO
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
diff --git a/src/xmlpatterns/api/qabstractxmlforwarditerator_p.h b/src/xmlpatterns/api/qabstractxmlforwarditerator_p.h
index b99e82a..94703e5 100644
--- a/src/xmlpatterns/api/qabstractxmlforwarditerator_p.h
+++ b/src/xmlpatterns/api/qabstractxmlforwarditerator_p.h
@@ -188,10 +188,10 @@ namespace QPatternist
typename ListType = QList<T> >
class ListIterator : public ListIteratorPlatform<T, T, ListIterator<T, ListType>, ListType>
{
- /*
- * This declaration is needed for MSVC 2005, 14.00.50727.42 for 80x86.
- */
- friend class IteratorVector;
+ /*
+ * This declaration is needed for MSVC 2005, 14.00.50727.42 for 80x86.
+ */
+ friend class IteratorVector;
using ListIteratorPlatform<T, T, ListIterator<T, ListType>, ListType>::m_list;
diff --git a/src/xmlpatterns/data/qabstractfloatcasters_tpl_p.h b/src/xmlpatterns/data/qabstractfloatcasters_tpl_p.h
index 3f6f6c0..e11ad8d 100644
--- a/src/xmlpatterns/data/qabstractfloatcasters_tpl_p.h
+++ b/src/xmlpatterns/data/qabstractfloatcasters_tpl_p.h
@@ -64,7 +64,7 @@ Item BooleanToAbstractFloatCaster<isDouble>::castFrom(const Item &from,
const QExplicitlySharedDataPointer<DynamicContext> &context) const
{
// RVCT doesn't like using template parameter in trinary operator when the trinary operator result is
- // passed directly into another constructor.
+ // passed directly into another constructor.
bool tempDouble = isDouble;
if(from.template as<AtomicValue>()->evaluateEBV(context))
return tempDouble ? toItem(CommonValues::DoubleOne) : toItem(CommonValues::FloatOne);
diff --git a/src/xmlpatterns/data/qatomicvalue.cpp b/src/xmlpatterns/data/qatomicvalue.cpp
index 18de5b9..ec6e1b7 100644
--- a/src/xmlpatterns/data/qatomicvalue.cpp
+++ b/src/xmlpatterns/data/qatomicvalue.cpp
@@ -227,7 +227,7 @@ ItemType::Ptr AtomicValue::qtToXDMType(const QXmlItem &item)
case QVariant::Time:
return BuiltinTypes::xsDateTime;
case QMetaType::Float:
- return BuiltinTypes::xsFloat;
+ return BuiltinTypes::xsFloat;
case QVariant::Double:
return BuiltinTypes::xsDouble;
default:
diff --git a/src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml b/src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml
index 425ccb0..434625b 100644
--- a/src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml
+++ b/src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml
@@ -1,2 +1,2 @@
-<p>"I hate quotations" -- Ralph Waldo Emerson"
+<p>"I hate quotations" -- Ralph Waldo Emerson"
'"I hate quotations"" -- Ralph Waldo Emerson"', appeared above</p> \ No newline at end of file
diff --git a/src/xmlpatterns/doc/snippets/patternist/introductionExample.xq b/src/xmlpatterns/doc/snippets/patternist/introductionExample.xq
index 1a309dd..549cfa2 100644
--- a/src/xmlpatterns/doc/snippets/patternist/introductionExample.xq
+++ b/src/xmlpatterns/doc/snippets/patternist/introductionExample.xq
@@ -1,3 +1,3 @@
<bibliography>
{doc("library.xml")/bib/book[publisher="Addison-Wesley" and @year>1991]/<book year="{@year}">{title}</book>}
-</bibliography>
+</bibliography>
diff --git a/src/xmlpatterns/functions/qcomparingaggregator_tpl_p.h b/src/xmlpatterns/functions/qcomparingaggregator_tpl_p.h
index 218df2d..d73a958 100644
--- a/src/xmlpatterns/functions/qcomparingaggregator_tpl_p.h
+++ b/src/xmlpatterns/functions/qcomparingaggregator_tpl_p.h
@@ -203,7 +203,7 @@ ComparingAggregator<oper, result>::typeCheck(const StaticContext::Ptr &context,
if(!m_operands.first()->staticType()->cardinality().allowsMany())
return m_operands.first();
-
+
// explicit scope needed in RVCT
ComparingAggregator<oper, result>::prepareComparison(fetchComparator(t1, t1, context));
diff --git a/src/xmlpatterns/functions/qpatternplatform_p.h b/src/xmlpatterns/functions/qpatternplatform_p.h
index 5e73327..8da60c5 100644
--- a/src/xmlpatterns/functions/qpatternplatform_p.h
+++ b/src/xmlpatterns/functions/qpatternplatform_p.h
@@ -121,7 +121,7 @@ namespace QPatternist
inline int captureCount() const;
/**
- * @short Parses pattern
+ * @short Parses pattern
*/
static QRegExp parsePattern(const QString &pattern,
const ReportContext::Ptr &context,
diff --git a/src/xmlpatterns/functions/qsequencefns_p.h b/src/xmlpatterns/functions/qsequencefns_p.h
index 22ce9b3..5fc2d94 100644
--- a/src/xmlpatterns/functions/qsequencefns_p.h
+++ b/src/xmlpatterns/functions/qsequencefns_p.h
@@ -145,7 +145,7 @@ namespace QPatternist
virtual Expression::Ptr compress(const StaticContext::Ptr &context)
{
// RVCT doesn't like using template parameter in trinary operator when the trinary operator result is
- // passed directly into another constructor.
+ // passed directly into another constructor.
Q_ASSERT(Id == IDExistsFN || Id == IDEmptyFN);
const Expression::Ptr me(FunctionCall::compress(context));
@@ -154,7 +154,7 @@ namespace QPatternist
return me;
// RVCT doesn't like using template parameter in trinary operator when the trinary operator result is
- // passed directly into another constructor.
+ // passed directly into another constructor.
Expression::ID tempId = Id;
const Cardinality myCard((tempId == IDExistsFN) ? Cardinality::oneOrMore() : Cardinality::empty());