summaryrefslogtreecommitdiffstats
path: root/src/ftextstream.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-06-07 09:36:24 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-06-10 18:36:25 (GMT)
commit1fa64cc88d0400eccb85fe4a687a269870fc3017 (patch)
tree32f21f1e5e6540e7729b0b21698c3fe89a94bcbf /src/ftextstream.h
parent95f9c89d6aa0008321c2ee8a0f3b1a4602789395 (diff)
downloadDoxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.zip
Doxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.tar.gz
Doxygen-1fa64cc88d0400eccb85fe4a687a269870fc3017.tar.bz2
Refactor: make QCString a wrapper around std::string
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