summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-09-11 22:29:32 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-11 22:31:53 +0200
commit013f84d06f7ad76d72b863170891589c3504508c (patch)
tree4b65487b3f1ddb8483694bfc3d7f3ab532249653 /include
parent03be785efe589dda77cad28782fbf51ab4049f46 (diff)
comphelper: another WeakImplHelper duplicate
Change-Id: I8b5fad24857f434cab351bbbae42c4b09bc6613a
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/seqstream.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/comphelper/seqstream.hxx b/include/comphelper/seqstream.hxx
index a1982ab4fe2c..3ac6617ed636 100644
--- a/include/comphelper/seqstream.hxx
+++ b/include/comphelper/seqstream.hxx
@@ -73,7 +73,11 @@ public:
private:
inline sal_Int32 avail();
};
-typedef ::cppu::WeakImplHelper< ::com::sun::star::io::XOutputStream > OSequenceOutputStream_Base;
+
+// don't export to avoid duplicate WeakImplHelper definitions with MSVC
+class SAL_DLLPUBLIC_TEMPLATE OSequenceOutputStream_Base
+ : public ::cppu::WeakImplHelper< ::com::sun::star::io::XOutputStream >
+{};
class COMPHELPER_DLLPUBLIC OSequenceOutputStream : public OSequenceOutputStream_Base
{