summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
index 22c891c47384..6b3d9c425417 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
@@ -32,6 +32,8 @@ using namespace ::com::sun::star::frame;
namespace xmlscript
{
+namespace {
+
class InputStreamProvider
: public ::cppu::WeakImplHelper< io::XInputStreamProvider >
{
@@ -46,6 +48,9 @@ public:
// XInputStreamProvider
virtual uno::Reference< io::XInputStream > SAL_CALL createInputStream() override;
};
+
+}
+
uno::Reference< io::XInputStream > InputStreamProvider::createInputStream()
{
return ::xmlscript::createInputStream( _bytes );