summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextformat.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-02-17 09:43:13 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-02-24 15:45:53 -0800
commita072de78dd441c957236de767b65b3a969a3de61 (patch)
tree406650505e272f027c78ef0dd3bbdaf997112e70 /src/gui/text/qtextformat.h
parentc9f6678fb44adba6b5e6675cbb32e5eb470071ec (diff)
QTextFormat: remove unnecessary namespace-scope stream op declarations
These two pairs already exist as hidden friends inside the two classes. Pick-to: 6.3 Change-Id: Ic15405335d804bdea761fffd16d4a3bc633e6d53 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/text/qtextformat.h')
-rw-r--r--src/gui/text/qtextformat.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/text/qtextformat.h b/src/gui/text/qtextformat.h
index a849ed7d3b..0a77753316 100644
--- a/src/gui/text/qtextformat.h
+++ b/src/gui/text/qtextformat.h
@@ -73,11 +73,6 @@ class QTextCursor;
class QTextDocument;
class QTextLength;
-#ifndef QT_NO_DATASTREAM
-Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QTextLength &);
-Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QTextLength &);
-#endif
-
#ifndef QT_NO_DEBUG_STREAM
Q_GUI_EXPORT QDebug operator<<(QDebug, const QTextLength &);
#endif
@@ -123,11 +118,6 @@ Q_DECLARE_TYPEINFO(QTextLength, Q_PRIMITIVE_TYPE);
inline QTextLength::QTextLength(Type atype, qreal avalue)
: lengthType(atype), fixedValueOrPercentage(avalue) {}
-#ifndef QT_NO_DATASTREAM
-Q_GUI_EXPORT QDataStream &operator<<(QDataStream &, const QTextFormat &);
-Q_GUI_EXPORT QDataStream &operator>>(QDataStream &, QTextFormat &);
-#endif
-
#ifndef QT_NO_DEBUG_STREAM
Q_GUI_EXPORT QDebug operator<<(QDebug, const QTextFormat &);
#endif