summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/document.cxx')
-rw-r--r--unoxml/source/dom/document.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index e84ff5bdc8d3..51277a5ad5aa 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -324,12 +324,16 @@ namespace DOM
m_streamListeners.erase(aListener);
}
+ namespace {
+
// IO context functions for libxml2 interaction
typedef struct {
Reference< XOutputStream > stream;
bool const allowClose;
} IOContext;
+ }
+
extern "C" {
// write callback
// int xmlOutputWriteCallback (void * context, const char * buffer, int len)