diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-08-26 08:18:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-21 18:21:33 (GMT) |
commit | 784a67d23ff81275c95af4199179da094953be2e (patch) | |
tree | 90a165d2f3327f3ad94775f616c3440d37813702 /src/ftextstream.h | |
parent | 74815268dd88f2cfb4473462cef3c33eebd5516a (diff) | |
download | Doxygen-784a67d23ff81275c95af4199179da094953be2e.zip Doxygen-784a67d23ff81275c95af4199179da094953be2e.tar.gz Doxygen-784a67d23ff81275c95af4199179da094953be2e.tar.bz2 |
Added rudimentary support for django like template system for output creation.
Diffstat (limited to 'src/ftextstream.h')
-rw-r--r-- | src/ftextstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftextstream.h b/src/ftextstream.h index 9167ae9..d073f40 100644 --- a/src/ftextstream.h +++ b/src/ftextstream.h @@ -48,14 +48,14 @@ class FTextStream inline FTextStream &FTextStream::operator<<( char c) { - m_dev->putch(c); + if (m_dev) m_dev->putch(c); return *this; } inline FTextStream &FTextStream::operator<<( const char* s) { uint len = qstrlen( s ); - m_dev->writeBlock( s, len ); + if (m_dev) m_dev->writeBlock( s, len ); return *this; } |