diff --git a/libgnucash/backend/xml/gnc-backend-xml.cpp b/libgnucash/backend/xml/gnc-backend-xml.cpp index 4dbf00042e..10a0d7cd8e 100644 --- a/libgnucash/backend/xml/gnc-backend-xml.cpp +++ b/libgnucash/backend/xml/gnc-backend-xml.cpp @@ -129,11 +129,6 @@ QofXmlBackendProvider::type_check (const char *uri) } filename = gnc_uri_get_path (uri); - if (0 == g_strcmp0 (filename, QOF_STDOUT)) - { - result = FALSE; - goto det_exit; - } t = g_fopen (filename, "r"); if (!t) { diff --git a/libgnucash/engine/qofsession.h b/libgnucash/engine/qofsession.h index 88b7b25468..371dbcc758 100644 --- a/libgnucash/engine/qofsession.h +++ b/libgnucash/engine/qofsession.h @@ -259,23 +259,6 @@ void qof_session_end (QofSession *session); /** @} */ -/** \brief Allow session data to be printed to stdout - -book_id can't be NULL and we do need to have an access_method, -so use one to solve the other. - -To print a session to stdout, use ::qof_session_begin. Example: - -\a qof_session_begin(session,QOF_STDOUT,TRUE,FALSE); - -When you call qof_session_save(session, NULL), the output will appear -on stdout and can be piped or redirected to other processes. - -Currently, only the QSF backend supports writing to stdout, other -backends may return a ::QofBackendError. -*/ -#define QOF_STDOUT ">" - /** @name Event Handling @{ */