summaryrefslogtreecommitdiffstats
path: root/src/ftextstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftextstream.h')
-rw-r--r--src/ftextstream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ftextstream.h b/src/ftextstream.h
index bfc5bd5..5b6a9ca 100644
--- a/src/ftextstream.h
+++ b/src/ftextstream.h
@@ -60,7 +60,8 @@ inline FTextStream &FTextStream::operator<<( const char* s)
inline FTextStream &FTextStream::operator<<( const QCString &s)
{
- return operator<<(s.data());
+ if (m_dev) m_dev->writeBlock( s, s.length() );
+ return *this;
}
typedef FTextStream & (*FTSFUNC)(FTextStream &);// manipulator function